We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 867f025 commit bd98397Copy full SHA for bd98397
src/Symfony/Component/Cache/Adapter/PhpFilesAdapter.php
@@ -82,7 +82,7 @@ public function prune()
82
}
83
84
if ($time >= $expiresAt) {
85
- $pruned = $this->doUnlink($file) && !file_exists($file) && $pruned;
+ $pruned = ($this->doUnlink($file) && !file_exists($file)) && $pruned;
86
87
88
} finally {
src/Symfony/Component/Cache/Traits/FilesystemTrait.php
@@ -40,7 +40,7 @@ public function prune()
40
41
if (($expiresAt = (int) fgets($h)) && $time >= $expiresAt) {
42
fclose($h);
43
- $pruned = @unlink($file) && !file_exists($file) && $pruned;
+ $pruned = (@unlink($file) && !file_exists($file)) && $pruned;
44
} else {
45
46
0 commit comments