1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 22:24:03 +00:00

Fix styling

This commit is contained in:
erikgaal 2022-06-23 12:51:20 +00:00 committed by github-actions[bot]
parent 68846f34d1
commit 9edf139be0
21 changed files with 9 additions and 53 deletions

View file

@ -38,7 +38,9 @@ class InitializeTenancyByPath extends IdentificationMiddleware
// simply injected into some route controller action.
if ($route->parameterNames()[0] === PathTenantResolver::$tenantParameterName) {
return $this->initializeTenancy(
$request, $next, $route
$request,
$next,
$route
);
} else {
throw new RouteIsMissingTenantParameterException;