From 11beca762b31722e0e6690446f6dabf83bf9dafa Mon Sep 17 00:00:00 2001 From: Sam Light Date: Wed, 10 Jun 2026 19:00:32 +0100 Subject: code formatting --- src/Enums/PathSegmentType.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Enums') 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); } } -- cgit v1.2.3