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; }