From bd8a1aa2ce5bbb7624e4025a9314ca8ef9a2b78a Mon Sep 17 00:00:00 2001 From: lukinovec Date: Fri, 30 Sep 2022 10:16:47 +0200 Subject: [PATCH] Remove redundant passing of $withPending to runForMultiple in TenantCollection's runForEach --- src/Database/TenantCollection.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Database/TenantCollection.php b/src/Database/TenantCollection.php index 6b080c69..45a137fe 100644 --- a/src/Database/TenantCollection.php +++ b/src/Database/TenantCollection.php @@ -17,9 +17,9 @@ use Stancl\Tenancy\Contracts\Tenant; */ class TenantCollection extends Collection { - public function runForEach(Closure $callable, bool $withPending = null): self + public function runForEach(Closure $callable): self { - tenancy()->runForMultiple($this->items, $callable, $withPending); + tenancy()->runForMultiple($this->items, $callable); return $this; }