1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 09:24:02 +00:00

Fix code style (php-cs-fixer)

This commit is contained in:
PHP CS Fixer 2024-01-25 13:14:19 +00:00
parent 193efce9c0
commit 2cd2dd4b5f
3 changed files with 3 additions and 3 deletions

View file

@ -10,7 +10,7 @@ namespace Stancl\Tenancy\Database\Concerns;
*
* Used with Postgres RLS (single-database tenancy).
*
* @see \Stancl\Tenancy\Database\Concerns\BelongsToTenant
* @see BelongsToTenant
*/
interface RLSModel
{

View file

@ -232,7 +232,7 @@ class DatabaseConfig
$databaseManagers = config('tenancy.database.managers');
if (! array_key_exists($driver, $databaseManagers)) {
throw new Exceptions\DatabaseManagerNotRegisteredException($driver);
throw new DatabaseManagerNotRegisteredException($driver);
}
return app($databaseManagers[$driver]);

View file

@ -58,7 +58,7 @@ if (! function_exists('global_cache')) {
* @param dynamic key|key,default|data,expiration|null
* @return mixed|\Illuminate\Cache\CacheManager
*
* @throws \InvalidArgumentException
* @throws InvalidArgumentException
*/
function global_cache(): mixed
{