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, '/\\') . '/'; } /**