mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 15:14:04 +00:00
Remove redundant passing of $withPending to runForMultiple in TenantCollection's runForEach
This commit is contained in:
parent
1e04835536
commit
bd8a1aa2ce
1 changed files with 2 additions and 2 deletions
|
|
@ -17,9 +17,9 @@ use Stancl\Tenancy\Contracts\Tenant;
|
||||||
*/
|
*/
|
||||||
class TenantCollection extends Collection
|
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;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue