if (!filter_var($this->type, FILTER_VALIDATE_INT)) {
            $this->type = self::TYPE_OPEN;
        }