From a125925f2962851473a3aa3f526c01064ce91f11 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 22 Dec 2022 12:30:47 +0100 Subject: [PATCH] Fix path bug --- Autoloader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Autoloader.php b/Autoloader.php index 0ca579eb8..40e042c88 100755 --- a/Autoloader.php +++ b/Autoloader.php @@ -57,7 +57,7 @@ final class Autoloader */ public static function addPath(string $path) : void { - self::$paths[] = $path; + self::$paths[] = \rtrim($path, '/\\') . '/'; } /**