1
0
Fork 0
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:
Samuel Štancl 2019-10-27 12:20:43 +01:00
commit 58f488784f
2 changed files with 4 additions and 2 deletions

View file

@ -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;

View file

@ -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;
} }