fix autoloader bug

This commit is contained in:
Dennis Eichhorn 2023-09-24 22:02:54 +00:00
parent 7cdfcb1751
commit 4312355d5a

View File

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