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

revert Tenancy changes, fix failing tests

This commit is contained in:
Samuel Štancl 2022-08-26 21:49:09 +02:00
parent 02faf2407f
commit 5f41647a6b
2 changed files with 8 additions and 6 deletions

View file

@ -68,11 +68,13 @@ class Tenancy
event(new Events\EndingTenancy($this));
// todo find a way to refactor these two methods
event(new Events\TenancyEnded($this));
$this->tenant = null;
$this->initialized = false;
event(new Events\TenancyEnded($this));
}
/** @return TenancyBootstrapper[] */