Skip to content

Commit 9854346

Browse files
[HttpKernel] Fix PHP deprecation
1 parent a454d0c commit 9854346

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpKernel/DataCollector/LoggerDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ private function getContainerDeprecationLogs(): array
224224

225225
private function getContainerCompilerLogs(string $compilerLogsFilepath = null): array
226226
{
227-
if (!is_file($compilerLogsFilepath)) {
227+
if (!$compilerLogsFilepath || !is_file($compilerLogsFilepath)) {
228228
return [];
229229
}
230230

0 commit comments

Comments
 (0)