mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 03:34:03 +00:00
Fix code style (php-cs-fixer)
This commit is contained in:
parent
193efce9c0
commit
2cd2dd4b5f
3 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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]);
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue