diff --git a/src/Guard.php b/src/Guard.php index 55c5d68a..3e157be6 100644 --- a/src/Guard.php +++ b/src/Guard.php @@ -40,9 +40,6 @@ public static function getNames($model): Collection /** * Get the model class associated with a given provider. - * - * @param string $provider - * @return string|null */ protected static function getProviderModel(string $provider): ?string { @@ -70,7 +67,7 @@ protected static function getConfigAuthGuards(string $class): Collection { return collect(config('auth.guards')) ->map(function ($guard) { - if (!isset($guard['provider'])) { + if (! isset($guard['provider'])) { return null; } @@ -82,16 +79,13 @@ protected static function getConfigAuthGuards(string $class): Collection /** * Get the model associated with a given guard name. - * - * @param string $guard - * @return string|null */ public static function getModelForGuard(string $guard): ?string { // Get the provider configuration for the given guard $provider = config("auth.guards.{$guard}.provider"); - if (!$provider) { + if (! $provider) { return null; } diff --git a/src/helpers.php b/src/helpers.php index cf7d3887..e7d0e18a 100644 --- a/src/helpers.php +++ b/src/helpers.php @@ -1,9 +1,6 @@