Skip to content

Commit e088832

Browse files
committed
Actualize CI
1 parent a66856a commit e088832

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/Component/UriPathFactory.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@
1111

1212
final readonly class UriPathFactory implements UriPathFactoryInterface
1313
{
14-
/**
15-
* @var non-empty-string
16-
*/
17-
private const string SEGMENT_DELIMITER = Path::PATH_SEGMENT_DELIMITER;
18-
1914
public function createPathFromString(\Stringable|string $path): PathInterface
2015
{
2116
if ($path instanceof PathInterface) {
@@ -51,7 +46,7 @@ private static function segments(string $path): array
5146
{
5247
$result = [];
5348

54-
foreach (\explode(self::SEGMENT_DELIMITER, $path) as $segment) {
49+
foreach (\explode('/', $path) as $segment) {
5550
if ($segment !== '') {
5651
$result[] = \urldecode($segment);
5752
}

0 commit comments

Comments
 (0)