1
0
Fork 0
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:
PHP CS Fixer 2022-09-29 00:47:38 +00:00
parent 87212e5390
commit 77b5e508d6
6 changed files with 11 additions and 6 deletions

View file

@ -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.'
);