We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 497ef46 commit 70ecdf6Copy full SHA for 70ecdf6
src/Path.php
@@ -31,7 +31,7 @@ public function __toString()
31
32
public static function normalize(string $path): string
33
{
34
- return '/'.ltrim($path, '\/');
+ return '/'.trim($path, '\/');
35
}
36
37
/**
0 commit comments