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 67b0e39 commit 497ef46Copy full SHA for 497ef46
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 '/'.ltrim($path, '\/');
35
}
36
37
/**
0 commit comments