Skip to content

Commit

Permalink
phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Nov 3, 2024
1 parent bd6953a commit eea1024
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utility/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static function getEnvVars(): array {
}
preg_match_all('#env\(\'([A-Z_)]+)\'.*\)#', $content, $matches);

$envs = $matches ? $matches[1] : [];
$envs = !empty($matches[1]) ? $matches[1] : [];
if (!$envs) {
continue;
}
Expand Down

0 comments on commit eea1024

Please sign in to comment.