fix autoloader bug

This commit is contained in:
Dennis Eichhorn 2023-09-24 22:02:55 +00:00
parent 341f9a03af
commit a1b697a6a4

View File

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