[HttpKernel] Fixes tests for PHP7.4+
This commit is contained in:
parent
7ccda8eedb
commit
c3ac11cc64
@ -349,7 +349,7 @@ class Store implements StoreInterface
|
||||
{
|
||||
$path = $this->getPath($key);
|
||||
|
||||
return file_exists($path) && false !== ($contents = file_get_contents($path)) ? $contents : null;
|
||||
return file_exists($path) && false !== ($contents = @file_get_contents($path)) ? $contents : null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user