Skip to content

Commit acb1cad

Browse files
Fixed issue symfony#25985
1 parent 5f770d7 commit acb1cad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Debug/DebugClassLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public function loadClass($class)
141141
if ($this->isFinder && !isset($this->loaded[$class])) {
142142
$this->loaded[$class] = true;
143143
if ($file = $this->classLoader[0]->findFile($class) ?: false) {
144-
$wasCached = \function_exists('opcache_is_script_cached') && opcache_is_script_cached($file);
144+
$wasCached = \function_exists('opcache_is_script_cached') && @opcache_is_script_cached($file);
145145

146146
require $file;
147147

0 commit comments

Comments
 (0)