app/Models/User.php
/**
     * Mark the given user's email as verified.
     *
     * @return bool
     */
Mark the given user's email as verified.
@return bool
Mark the given user ' s email as verified . @return bool
public function markEmailAsVerified(): bool
    {
        return $this->forceFill([
            'registration_token' => null,
            'verified' => true
        ])->save();
    }
public function markEmailAsVerified ( ) : bool { return $ this -> forceFill ( [ 'registration_token' => null , 'verified' => true ] ) -> save ( ) ; }
Mark the given user's email as verified.
Mark the given user ' s email as verified .