We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 950548e commit 395f667Copy full SHA for 395f667
webfiori/framework/router/RouterUri.php
@@ -267,7 +267,7 @@ public function getLanguages() : array {
267
public function getMiddleware() : array {
268
if (count($this->assignedMiddlewareList) != count($this->sortedMiddleeareList)) {
269
$compareFunc = function ($a, $b) {
270
- return $b->getPriority() - $a->getPriority();
+ return $a->compare($b);
271
};
272
$this->sortedMiddleeareList = $this->assignedMiddlewareList;
273
0 commit comments