Skip to content

Commit 214932f

Browse files
author
Andrey Helldar
authored
Update Route.php
1 parent 572e018 commit 214932f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Models/Route.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function getMiddlewares(): array
6060
$middlewares = array_merge($middlewares, $this->route->controllerMiddleware());
6161
}
6262

63-
return $middlewares;
63+
return array_values($middlewares);
6464
}
6565

6666
public function getDeprecated(): bool

0 commit comments

Comments
 (0)