mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 02:54:03 +00:00
Merge branch 'saas' of github.com:stancl/tenancy into saas
This commit is contained in:
commit
58f488784f
2 changed files with 4 additions and 2 deletions
|
|
@ -1,5 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Stancl\Tenancy\Contracts\Future;
|
namespace Stancl\Tenancy\Contracts\Future;
|
||||||
|
|
||||||
use Stancl\Tenancy\Tenant;
|
use Stancl\Tenancy\Tenant;
|
||||||
|
|
|
||||||
|
|
@ -365,12 +365,12 @@ class Tenant implements ArrayAccess
|
||||||
|
|
||||||
if (! $this->storage instanceof CanDeleteKeys) {
|
if (! $this->storage instanceof CanDeleteKeys) {
|
||||||
throw new NotImplementedException(get_class($this->storage), 'deleteMany',
|
throw new NotImplementedException(get_class($this->storage), 'deleteMany',
|
||||||
'This method was added to storage drivers provided by the package in 2.2.0 and will be part of the StorageDriver contract in 3.0.0.'
|
'This method was added to storage drivers provided by the package in 2.2.0 and will be part of the StorageDriver contract in 3.0.0.'
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
$this->storage->deleteMany($keys);
|
$this->storage->deleteMany($keys);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue