Skip to content

Commit

Permalink
[Debug][DebugClassLoader] Don't check class if the included file don'…
Browse files Browse the repository at this point in the history
…t exist
  • Loading branch information
fancyweb committed Jul 12, 2019
1 parent ee5e5de commit 7110ac7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Symfony/Component/Debug/DebugClassLoader.php
Expand Up @@ -152,8 +152,8 @@ public function loadClass($class)
include $file;

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

0 comments on commit 7110ac7

Please sign in to comment.