Skip to content

Commit

Permalink
Do not make abusolute path if php://stdout, php://stderr are used
Browse files Browse the repository at this point in the history
  • Loading branch information
maks-rafalko committed May 11, 2023
1 parent ad7890a commit 8b9613d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Configuration/ConfigurationFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ private static function pathToAbsolute(
return null;
}

if (in_array($path, FileLogger::ALLOWED_PHP_STREAMS)) {
if (in_array($path, FileLogger::ALLOWED_PHP_STREAMS, true)) {
return $path;
}

Expand Down

0 comments on commit 8b9613d

Please sign in to comment.