Use PSR-12 code style

This commit is contained in:
James Cole
2022-10-30 14:24:37 +01:00
parent f53923f16c
commit f52675068b
151 changed files with 251 additions and 403 deletions

View File

@@ -37,7 +37,6 @@ use Str;
*/
class RemoteUserProvider implements UserProvider
{
/**
* @inheritDoc
*/
@@ -65,7 +64,7 @@ class RemoteUserProvider implements UserProvider
]
);
// if this is the first user, give them admin as well.
if(1 === User::count()) {
if (1 === User::count()) {
$roleObject = Role::where('name', 'owner')->first();
$user->roles()->attach($roleObject);
}