mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 18:04:03 +00:00
fixed typo (#766)
fixed typo within description 'searhced' => 'searched'
This commit is contained in:
parent
f12c826df5
commit
2726f07bca
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ class UniversalRoutes implements Feature
|
|||
}
|
||||
|
||||
// Loop one level deep and check if the route's middleware
|
||||
// groups have the searhced middleware group inside them
|
||||
// groups have the searched middleware group inside them
|
||||
$middlewareGroups = Router::getMiddlewareGroups();
|
||||
foreach ($route->gatherMiddleware() as $inner) {
|
||||
if (! $inner instanceof Closure && isset($middlewareGroups[$inner]) && in_array($middleware, $middlewareGroups[$inner], true)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue