Skip to content

Commit

Permalink
Fix class name in doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
franzliedke committed Sep 21, 2018
1 parent d54a554 commit c75b248
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/User/RegistrationToken.php
Expand Up @@ -80,11 +80,11 @@ public static function generate(string $provider, string $identifier, array $att
*
* @throws InvalidConfirmationTokenException
*
* @return AuthToken
* @return RegistrationToken
*/
public function scopeValidOrFail($query, string $token)
{
/** @var AuthToken $token */
/** @var RegistrationToken $token */
$token = $query->find($token);

if (! $token || $token->created_at->lessThan(Carbon::now()->subDay())) {
Expand Down

0 comments on commit c75b248

Please sign in to comment.