Skip to content

Commit bcc6bdb

Browse files
committed
remove sourting routes
1 parent ef66c9d commit bcc6bdb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Router.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,6 @@ public function dispatch(): self
231231
$domain = substr($this->request->getUri()->getHost(), strlen($scheme . '://'));
232232
$uri = $this->request->getUri()->getPath();
233233

234-
sort($this->routes, SORT_DESC);
235-
236234
foreach ($this->routes as $route) {
237235
$parameters = [];
238236

0 commit comments

Comments
 (0)