Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
krowinski committed Dec 23, 2024
1 parent 697e4d7 commit 1f35616
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MySQLReplication/Tools.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Tools
{
public static function getFromEnv(string $name, null|int|string $default = null): null|int|string
{
$value = $_ENV[$name] ?: null;
$value = getenv($name) ?: null;
return $value ?? $default;
}
}

0 comments on commit 1f35616

Please sign in to comment.