Skip to content

Commit ce2eed1

Browse files
committed
#106885 fix namespace sorting
1 parent e03fbfa commit ce2eed1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Generators/RoutesGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ private function formatControllerNamespaces(array $controllerNamespaces): string
112112
}
113113
}
114114

115-
sort($namespaces);
115+
natcasesort($namespaces);
116116

117117
return implode("\n", array_map(fn (string $namespace) => "use {$namespace};", $namespaces));
118118
}

0 commit comments

Comments
 (0)