Skip to content

Commit 6441a9c

Browse files
authored
Merge pull request #31 from utopia-php/fix-implicit-nullable
fix: implicit nullable
2 parents 8e4a7ed + fe18550 commit 6441a9c

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@
3131
"require-dev": {
3232
"phpunit/phpunit": "9.6.*",
3333
"laravel/pint": "1.13.*",
34-
"phpstan/phpstan": "1.10.*"
34+
"phpstan/phpstan": "1.12.*"
3535
}
3636
}

composer.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/System/System.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ public static function getNetworkUsage(int $duration = 1): array
534534
*
535535
* @return string|null
536536
*/
537-
public static function getEnv(string $name, string $default = null): ?string
537+
public static function getEnv(string $name, ?string $default = null): ?string
538538
{
539539
return getenv($name) ?: $default;
540540
}

0 commit comments

Comments
 (0)