Skip to content

Commit

Permalink
Update Path.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Shelamkoff authored Jan 8, 2024
1 parent 497ef46 commit 70ecdf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Path.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function __toString()

public static function normalize(string $path): string
{
return '/'.ltrim($path, '\/');
return '/'.trim($path, '\/');
}

/**
Expand Down

0 comments on commit 70ecdf6

Please sign in to comment.