mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 01:14:04 +00:00
TenantModel putMany
This commit is contained in:
parent
8b2c64c8b1
commit
0fd1d82c68
10 changed files with 88 additions and 46 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue