mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 17:24:03 +00:00
Fix code style (php-cs-fixer)
This commit is contained in:
parent
87212e5390
commit
77b5e508d6
6 changed files with 11 additions and 6 deletions
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
use Stancl\Tenancy\CacheManager;
|
||||
use Stancl\Tenancy\Contracts\Tenant;
|
||||
use Stancl\Tenancy\Tenancy;
|
||||
|
||||
|
|
@ -73,7 +72,7 @@ if (! function_exists('global_cache')) {
|
|||
return app('globalCache')->get(...$arguments);
|
||||
}
|
||||
|
||||
if (!is_array($arguments[0])) {
|
||||
if (! is_array($arguments[0])) {
|
||||
throw new InvalidArgumentException(
|
||||
'When setting a value in the cache, you must pass an array of key / value pairs.'
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue