Skip to content

Commit

Permalink
Merge pull request #3438 from kdambekalns/bugfix/fopen-warning-in-rea…
Browse files Browse the repository at this point in the history
…dCacheFile

BUGFIX: Silence warning in `readCacheFile()`
  • Loading branch information
kdambekalns authored Jan 23, 2025
2 parents c8fe09c + c7b119b commit 2788f1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Neos.Cache/Classes/Backend/SimpleFileBackend.php
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ protected function readCacheFile(string $cacheEntryPathAndFilename, int $offset
for ($i = 0; $i < 3; $i++) {
$data = false;
try {
$file = fopen($cacheEntryPathAndFilename, 'rb');
$file = @fopen($cacheEntryPathAndFilename, 'rb');
if ($file === false) {
continue;
}
Expand Down

0 comments on commit 2788f1a

Please sign in to comment.