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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy