Skip to content

Commit

Permalink
Apply symfony#32511 and symfony#32500 to ErrorHandler component
Browse files Browse the repository at this point in the history
  • Loading branch information
yceruto committed Jul 15, 2019
1 parent 0856027 commit 0c5070f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Symfony/Component/ErrorHandler/DebugClassLoader.php
Expand Up @@ -153,11 +153,11 @@ public function loadClass($class)
if (!$file = $this->classLoader[0]->findFile($class) ?: false) {
// no-op
} elseif (\function_exists('opcache_is_script_cached') && @opcache_is_script_cached($file)) {
require $file;
include $file;

return;
} else {
require $file;
} elseif (false === include $file) {
return;
}
} else {
($this->classLoader)($class);
Expand Down

0 comments on commit 0c5070f

Please sign in to comment.