From 0185527297df920c719a1475d1ba475853737a36 Mon Sep 17 00:00:00 2001 From: Thomas Calvet Date: Fri, 12 Jul 2019 10:24:01 +0200 Subject: [PATCH] [Debug][DebugClassLoader] Don't check class if the included file don't exist --- src/Symfony/Component/Debug/DebugClassLoader.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Component/Debug/DebugClassLoader.php b/src/Symfony/Component/Debug/DebugClassLoader.php index b63c6adee954c..13ab9e700c743 100644 --- a/src/Symfony/Component/Debug/DebugClassLoader.php +++ b/src/Symfony/Component/Debug/DebugClassLoader.php @@ -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); 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