We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f0c668 commit 2479727Copy full SHA for 2479727
src/Tenancy.php
@@ -136,7 +136,7 @@ public function end(): void
136
public function getBootstrappers(): array
137
{
138
// If no callback for getting bootstrappers is set, we return the ones in config.
139
- $resolve = $this->getBootstrappersUsing ?? function (Tenant $tenant) {
+ $resolve = $this->getBootstrappersUsing ?? function (?Tenant $tenant) {
140
return config('tenancy.bootstrappers');
141
};
142
0 commit comments