Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 01c08fc

Browse files
[Debug] Ensure class declarations are loaded only once
1 parent 6de2304 commit 01c08fc

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
@@ -147,7 +147,7 @@ public function loadClass($class)
147147
try {
148148
if ($this->isFinder) {
149149
if ($file = $this->classLoader[0]->findFile($class)) {
150-
require $file;
150+
require_once $file;
151151
}
152152
} else {
153153
call_user_func($this->classLoader, $class);

0 commit comments

Comments
 (0)