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

TenantModel putMany

This commit is contained in:
Samuel Štancl 2019-09-15 11:01:24 +02:00
parent 8b2c64c8b1
commit 0fd1d82c68
10 changed files with 88 additions and 46 deletions

View file

@ -185,10 +185,10 @@ class TenantManager
* Get the current tenant.
*
* @param string $key
* @return Tenant
* @return Tenant|mixed
* @throws NoTenantIdentifiedException
*/
public function getTenant(string $key = null): Tenant
public function getTenant(string $key = null)
{
if (! $this->tenant) {
throw new NoTenantIdentifiedException;