Skip to content

Commit

Permalink
Updated return value
Browse files Browse the repository at this point in the history
  • Loading branch information
eldadfux committed Apr 1, 2024
1 parent 16026b4 commit 6752e7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/System/System.php
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ public static function getNetworkUsage(int $duration = 1): array
*
* @return bool
*/
public static function getEnv(string $name, string $default = null): ?string
public static function getEnv(string $name, string $default = null): string|bool
{
return getenv($name) ?? $default;
}
Expand Down

0 comments on commit 6752e7e

Please sign in to comment.