diff options
| author | Sam Light <sam@lightscale.co.uk> | 2026-06-10 19:00:32 +0100 |
|---|---|---|
| committer | Sam Light <sam@lightscale.co.uk> | 2026-06-10 19:00:32 +0100 |
| commit | 11beca762b31722e0e6690446f6dabf83bf9dafa (patch) | |
| tree | 7271aa4948002c6f57feb6230975d2304d95ddf5 /src/Enums | |
| parent | ac836311005458a10dded324420be92f44976332 (diff) | |
code formatting
Diffstat (limited to 'src/Enums')
| -rw-r--r-- | src/Enums/PathSegmentType.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Enums/PathSegmentType.php b/src/Enums/PathSegmentType.php index 7cb1a51..414b945 100644 --- a/src/Enums/PathSegmentType.php +++ b/src/Enums/PathSegmentType.php @@ -26,10 +26,10 @@ enum PathSegmentType $regex = $type->routeMatchRegex(); if (preg_match($regex, $value, $matches) === 1) { $value = $matches[1]; - } - else { + } else { $type = PathSegmentType::Raw; } - return new PathSegmentTypeMatch( $type, $value); + + return new PathSegmentTypeMatch($type, $value); } } |
