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

Update typehint

This commit is contained in:
Samuel Štancl 2020-08-13 13:55:22 +02:00
parent 5c887c29f4
commit 2f6ff33bf9

View file

@ -29,7 +29,7 @@ class Tenancy
* @param Tenant|int|string $tenant * @param Tenant|int|string $tenant
* @return void * @return void
*/ */
public function initialize(Tenant $tenant): void public function initialize($tenant): void
{ {
if ($this->initialized && $this->tenant->getTenantKey() === $tenant->getTenantKey()) { if ($this->initialized && $this->tenant->getTenantKey() === $tenant->getTenantKey()) {
return; return;