mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-29 18:20:01 +00:00
Use PSR-12 code style
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user