common/models/Users.php
/**
     * Finds user by verification email token
     *
     * @param string $token verify email token
     *
     * @return static|null
     */
Finds user by verification email token
@param string $token verify email token

@return static|null
Finds user by verification email token @param string $token verify email token @return static|null
public static function findByVerificationToken($token) {
        return static::findOne([
            'verification_token' => $token,
            'status'             => self::STATUS_INACTIVE
        ]);
    }
public static function findByVerificationToken ( $ token ) { return static :: findOne ( [ 'verification_token' => $ token , 'status' => self :: STATUS_INACTIVE ] ) ; }
Finds user by verification email token
 @param string $token verify email token
Finds user by verification email token @param string $token verify email token