Skip to content

Commit 70ecdf6

Browse files
authored
Update Path.php
1 parent 497ef46 commit 70ecdf6

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 '/'.trim($path, '\/');
3535
}
3636

3737
/**

0 commit comments

Comments
 (0)