1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 14:34:04 +00:00

revert regression in last commit, opt for a phpstan ignore instead

This commit is contained in:
Samuel Štancl 2025-06-19 00:12:38 +02:00
parent 12fcbabd76
commit 7481229063

View file

@ -30,7 +30,8 @@ if (! function_exists('tenant')) {
return app(Tenant::class);
}
return app(Tenant::class)->getAttribute($key);
// @phpstan-ignore-next-line nullsafe.neverNull
return app(Tenant::class)?->getAttribute($key);
}
}