Use PSR-12 code style

This commit is contained in:
James Cole
2022-10-30 14:24:28 +01:00
parent 2eebcb21f1
commit f53923f16c
187 changed files with 429 additions and 482 deletions

View File

@@ -52,15 +52,17 @@ class AuthServiceProvider extends ServiceProvider
public function boot(): void
{
Auth::provider(
'remote_user_provider', function ($app, array $config) {
return new RemoteUserProvider;
}
'remote_user_provider',
function ($app, array $config) {
return new RemoteUserProvider();
}
);
Auth::extend(
'remote_user_guard', static function ($app, string $name, array $config) {
return new RemoteUserGuard(Auth::createUserProvider($config['provider']), $app);
}
'remote_user_guard',
static function ($app, string $name, array $config) {
return new RemoteUserGuard(Auth::createUserProvider($config['provider']), $app);
}
);
$this->registerPolicies();