1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 21:54:03 +00:00

phpstan fix

This commit is contained in:
Samuel Štancl 2025-08-25 17:50:09 +02:00
parent 1f0c668578
commit 24797278cd

View file

@ -136,7 +136,7 @@ class Tenancy
public function getBootstrappers(): array
{
// If no callback for getting bootstrappers is set, we return the ones in config.
$resolve = $this->getBootstrappersUsing ?? function (Tenant $tenant) {
$resolve = $this->getBootstrappersUsing ?? function (?Tenant $tenant) {
return config('tenancy.bootstrappers');
};