fix autoloader bug

This commit is contained in:
Dennis Eichhorn 2023-09-24 22:02:55 +00:00
parent 28d83307cc
commit ce1d066046

View File

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