mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 22:14:03 +00:00
Refactor: Remove unreachable code after exception (#1271)
This commit is contained in:
parent
30cdc9461e
commit
e91ca11123
1 changed files with 1 additions and 3 deletions
|
|
@ -40,10 +40,8 @@ class InitializeTenancyByPath extends IdentificationMiddleware
|
|||
return $this->initializeTenancy(
|
||||
$request, $next, $route
|
||||
);
|
||||
} else {
|
||||
throw new RouteIsMissingTenantParameterException;
|
||||
}
|
||||
|
||||
return $next($request);
|
||||
throw new RouteIsMissingTenantParameterException;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue