Skip to content

Commit 497ef46

Browse files
authored
Update Path.php
1 parent 67b0e39 commit 497ef46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Path.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function __toString()
3131

3232
public static function normalize(string $path): string
3333
{
34-
return '/'.ltrim('\/', $path);
34+
return '/'.ltrim($path, '\/');
3535
}
3636

3737
/**

0 commit comments

Comments
 (0)