From f07ab496205570963e3ab9efee55b3115b302566 Mon Sep 17 00:00:00 2001 From: Alexis Date: Tue, 7 Feb 2023 10:54:53 +0100 Subject: [PATCH] SonarQube bug resolve #3 --- Source/Config/SplClassLoader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Config/SplClassLoader.php b/Source/Config/SplClassLoader.php index 0353d6b..793c19d 100644 --- a/Source/Config/SplClassLoader.php +++ b/Source/Config/SplClassLoader.php @@ -149,7 +149,7 @@ class SplClassLoader } $fileName .= str_replace('_', DIRECTORY_SEPARATOR, $className) . $this->_fileExtension; - require ($this->_includePath !== null ? $this->_includePath . DIRECTORY_SEPARATOR : '') . $fileName; + require_once ($this->_includePath !== null ? $this->_includePath . DIRECTORY_SEPARATOR : '') . $fileName; } } } \ No newline at end of file