diff --git a/src/Events/TokenAuthenticated.php b/src/Events/TokenAuthenticated.php index 1166340c..ab9024be 100644 --- a/src/Events/TokenAuthenticated.php +++ b/src/Events/TokenAuthenticated.php @@ -15,7 +15,6 @@ class TokenAuthenticated * Create a new event instance. * * @param \Laravel\Sanctum\PersonalAccessToken $token - * @return void */ public function __construct($token) { diff --git a/src/Exceptions/MissingAbilityException.php b/src/Exceptions/MissingAbilityException.php index 287fafea..5866db0a 100644 --- a/src/Exceptions/MissingAbilityException.php +++ b/src/Exceptions/MissingAbilityException.php @@ -19,7 +19,6 @@ class MissingAbilityException extends AuthorizationException * * @param array|string $abilities * @param string $message - * @return void */ public function __construct($abilities = [], $message = 'Invalid ability provided.') { diff --git a/src/Exceptions/MissingScopeException.php b/src/Exceptions/MissingScopeException.php index f5c68c85..2b2ae644 100644 --- a/src/Exceptions/MissingScopeException.php +++ b/src/Exceptions/MissingScopeException.php @@ -23,7 +23,6 @@ class MissingScopeException extends AuthorizationException * * @param array|string $scopes * @param string $message - * @return void */ public function __construct($scopes = [], $message = 'Invalid scope(s) provided.') { diff --git a/src/Guard.php b/src/Guard.php index f0007844..0054805b 100644 --- a/src/Guard.php +++ b/src/Guard.php @@ -36,7 +36,6 @@ class Guard * @param \Illuminate\Contracts\Auth\Factory $auth * @param int $expiration * @param string $provider - * @return void */ public function __construct(AuthFactory $auth, $expiration = null, $provider = null) { diff --git a/src/Http/Middleware/AuthenticateSession.php b/src/Http/Middleware/AuthenticateSession.php index fe8d6b99..a355e73d 100644 --- a/src/Http/Middleware/AuthenticateSession.php +++ b/src/Http/Middleware/AuthenticateSession.php @@ -24,7 +24,6 @@ class AuthenticateSession * Create a new middleware instance. * * @param \Illuminate\Contracts\Auth\Factory $auth - * @return void */ public function __construct(AuthFactory $auth) { diff --git a/src/NewAccessToken.php b/src/NewAccessToken.php index b34fe5e5..cbf0b2ef 100644 --- a/src/NewAccessToken.php +++ b/src/NewAccessToken.php @@ -26,7 +26,6 @@ class NewAccessToken implements Arrayable, Jsonable * * @param \Laravel\Sanctum\PersonalAccessToken $accessToken * @param string $plainTextToken - * @return void */ public function __construct(PersonalAccessToken $accessToken, string $plainTextToken) {