mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 09:54:05 +00:00
Merge branch 'saas' of github.com:stancl/tenancy into saas
This commit is contained in:
commit
4196d918d6
2 changed files with 4 additions and 2 deletions
|
|
@ -1,5 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Stancl\Tenancy\Exceptions;
|
namespace Stancl\Tenancy\Exceptions;
|
||||||
|
|
||||||
use Exception;
|
use Exception;
|
||||||
|
|
@ -10,4 +12,4 @@ class NotImplementedException extends Exception
|
||||||
{
|
{
|
||||||
parent::__construct("The $class class does not implement the $method method. $extra");
|
parent::__construct("The $class class does not implement the $method method. $extra");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -217,7 +217,7 @@ class TenantManager
|
||||||
{
|
{
|
||||||
if (! method_exists($this->storage, 'findBy')) {
|
if (! method_exists($this->storage, 'findBy')) {
|
||||||
throw new NotImplementedException(get_class($this->storage), 'findBy',
|
throw new NotImplementedException(get_class($this->storage), 'findBy',
|
||||||
"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.'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue