mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 18:04:03 +00:00
Laravel 6 support
This commit is contained in:
parent
d23dbf18ce
commit
0049a48383
5 changed files with 9 additions and 5 deletions
|
|
@ -11,7 +11,7 @@ use Symfony\Component\HttpFoundation\IpUtils;
|
|||
|
||||
class CheckTenantForMaintenanceMode extends CheckForMaintenanceMode
|
||||
{
|
||||
public function handle(Request $request, Closure $next)
|
||||
public function handle($request, Closure $next)
|
||||
{
|
||||
if (! tenant()) {
|
||||
throw new TenancyNotInitializedException;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue