summaryrefslogtreecommitdiff
path: root/src/PathSegment.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/PathSegment.php')
-rw-r--r--src/PathSegment.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PathSegment.php b/src/PathSegment.php
index 5333d17..9337fa1 100644
--- a/src/PathSegment.php
+++ b/src/PathSegment.php
@@ -46,7 +46,7 @@ class PathSegment
PathSegmentType $type,
): string {
return match ($type) {
- PathSegmentType::Raw => $value ?? '',
+ PathSegmentType::Raw => strtolower($value ?? ''),
PathSegmentType::Root => '<root>',
PathSegmentType::Parameter => '<parameter>',
};