Skip to content

Commit 456509a

Browse files
Merge branch '4.4' into 5.2
* 4.4: [HttpKernel] Fixes tests for PHP7.4+ [Filesystem] fix readlink for Windows
2 parents f76e456 + 3225e62 commit 456509a

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
@@ -347,7 +347,7 @@ private function load(string $key): ?string
347347
{
348348
$path = $this->getPath($key);
349349

350-
return is_file($path) && false !== ($contents = file_get_contents($path)) ? $contents : null;
350+
return is_file($path) && false !== ($contents = @file_get_contents($path)) ? $contents : null;
351351
}
352352

353353
/**

0 commit comments

Comments
 (0)