protected function getBuilder()
    {
        $isArray = false;

        // guess builder type based on arguments
        if ($this->actions) {
            /** @var Action $action */
            $action = reset($this->actions);
            $arguments = $action->getArguments();
            if ($arguments) {
                $argument = reset($arguments);
                if (is_array($argument)) {
                    $isArray = true;
                }
            }
        }

        if ($isArray) {
            return new ArrayOptionValueBuilder();
        }

        return new StringOptionValueBuilder();
    }