Skip to content

Commit 2479727

Browse files
committed
phpstan fix
1 parent 1f0c668 commit 2479727

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tenancy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public function end(): void
136136
public function getBootstrappers(): array
137137
{
138138
// If no callback for getting bootstrappers is set, we return the ones in config.
139-
$resolve = $this->getBootstrappersUsing ?? function (Tenant $tenant) {
139+
$resolve = $this->getBootstrappersUsing ?? function (?Tenant $tenant) {
140140
return config('tenancy.bootstrappers');
141141
};
142142

0 commit comments

Comments
 (0)