Skip to content

Commit 3879d23

Browse files
committed
[HttpKernel] Fixes tests for PHP7.4+
1 parent f287ea9 commit 3879d23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

HttpCache/Store.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ private function load(string $key): ?string
349349
{
350350
$path = $this->getPath($key);
351351

352-
return file_exists($path) && false !== ($contents = file_get_contents($path)) ? $contents : null;
352+
return file_exists($path) && false !== ($contents = @file_get_contents($path)) ? $contents : null;
353353
}
354354

355355
/**

0 commit comments

Comments
 (0)