src/Auth/VerifyEmails/VerifyEmailBroker.php
protected function validateVerification(CanVerifyEmailContract $user, $token)
    {
        if (! $this->tokens->exists($user, $token)) {
            return VerifyEmailBrokerContract::INVALID_TOKEN;
        }

        return $user;
    }
protected function validateVerification(CanVerifyEmailContract $user, $token)
    {
        if (! $this->tokens->exists($user, $token)) {
            return VerifyEmailBrokerContract::INVALID_TOKEN;
        }

        return $user;
    }
protected function validateVerification ( CanVerifyEmailContract $ user , $ token ) { if ( ! $ this -> tokens -> exists ( $ user , $ token ) ) { return VerifyEmailBrokerContract :: INVALID_TOKEN ; } return $ user ; }
Validate a verification for the given credentials.

@param  \LaravelVerifyEmails\Contracts\Auth\CanVerifyEmail  $user
@param  string  $token
@return \LaravelVerifyEmails\Contracts\Auth\CanVerifyEmail
Validate a verification for the given credentials .