Skip to content

Commit e8f70c7

Browse files
ro0NLfabpot
authored andcommitted
[Cache] Ignore missing annotations.php
1 parent adc39a2 commit e8f70c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Cache/Traits/PhpArrayTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,6 @@ public function clear()
126126
*/
127127
private function initialize()
128128
{
129-
$this->values = @(include $this->file) ?: array();
129+
$this->values = file_exists($this->file) ? (include $this->file ?: array()) : array();
130130
}
131131
}

0 commit comments

Comments
 (0)