From aeb15d4251c865592a4dceb7cc75a1f28b37fc99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Wed, 30 Oct 2019 18:22:17 +0100 Subject: [PATCH] Fix Tenant::new() --- src/Tenant.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tenant.php b/src/Tenant.php index 3cbc0b0d..124e3412 100644 --- a/src/Tenant.php +++ b/src/Tenant.php @@ -83,7 +83,7 @@ class Tenant implements ArrayAccess $app = $app ?? app(); return new static( - $app, + $app[Repository::class], $app[StorageDriver::class], $app[TenantManager::class], $app[UniqueIdentifierGenerator::class]