Fix path bug

This commit is contained in:
Dennis Eichhorn 2022-12-22 12:30:47 +01:00
parent 833886f970
commit a125925f29

View File

@ -57,7 +57,7 @@ final class Autoloader
*/ */
public static function addPath(string $path) : void public static function addPath(string $path) : void
{ {
self::$paths[] = $path; self::$paths[] = \rtrim($path, '/\\') . '/';
} }
/** /**