diff --git a/src/FirebaseAuthenticable.php b/src/FirebaseAuthenticable.php index 5461aed..d0b2521 100644 --- a/src/FirebaseAuthenticable.php +++ b/src/FirebaseAuthenticable.php @@ -21,8 +21,7 @@ trait FirebaseAuthenticable /** * Get User by claim. * - * @param array $claims - * + * @param array $claims * @return self */ public function resolveByClaims(array $claims): object @@ -37,9 +36,8 @@ public function resolveByClaims(array $claims): object /** * Update or create user. * - * @param int|string $id - * @param array $attributes - * + * @param int|string $id + * @param array $attributes * @return self */ public function updateOrCreateUser($id, array $attributes): object @@ -65,8 +63,7 @@ public function updateOrCreateUser($id, array $attributes): object /** * Transform claims to attributes. * - * @param array $claims - * + * @param array $claims * @return array */ public function transformClaims(array $claims): array @@ -75,11 +72,11 @@ public function transformClaims(array $claims): array 'email' => (string) $claims['email'], ]; - if (!empty($claims['name'])) { + if (! empty($claims['name'])) { $attributes['name'] = (string) $claims['name']; } - if (!empty($claims['picture'])) { + if (! empty($claims['picture'])) { $attributes['picture'] = (string) $claims['picture']; } @@ -89,8 +86,7 @@ public function transformClaims(array $claims): array /** * Set firebase token. * - * @param string $token - * + * @param string $token * @return self */ public function setFirebaseAuthenticationToken($token) @@ -153,8 +149,7 @@ public function getRememberToken() /** * Set the token value for the "remember me" session. * - * @param string $value - * + * @param string $value * @return void */ public function setRememberToken($value) diff --git a/src/FirebaseGuard.php b/src/FirebaseGuard.php index af394a6..f564374 100644 --- a/src/FirebaseGuard.php +++ b/src/FirebaseGuard.php @@ -15,8 +15,7 @@ class FirebaseGuard /** * Constructor. * - * @param Verifier $verifier - * + * @param Verifier $verifier * @return void */ public function __construct(Verifier $verifier) @@ -27,8 +26,7 @@ public function __construct(Verifier $verifier) /** * Get User by request claims. * - * @param Request $request - * + * @param Request $request * @return mixed|null */ public function user(Request $request) diff --git a/src/Http/Middleware/AddAccessTokenFromCookie.php b/src/Http/Middleware/AddAccessTokenFromCookie.php index 38458ca..0ce7c72 100644 --- a/src/Http/Middleware/AddAccessTokenFromCookie.php +++ b/src/Http/Middleware/AddAccessTokenFromCookie.php @@ -9,9 +9,8 @@ class AddAccessTokenFromCookie /** * Store token from cookie in authorization header. * - * @param \Illuminate\Http\Request $request - * @param \Closure $next - * + * @param \Illuminate\Http\Request $request + * @param \Closure $next * @return mixed */ public function handle($request, Closure $next)