src/Command.php
public function update(array $arguments = null, array $options = null): void
    {
        /* Update Arguments */
        if ($arguments) {
            $keys = array_keys($this->arguments);
            for ($index = 0; $index < count($keys); $index++) {
                $this->arguments[$keys[$index]] = $arguments[$index];
            }
        }

        /* Update Options */
        if ($options) {
            foreach ($options as $option => $value) {
                $this->options[$option] = $value;
            }
        }
    }
public function update(array $arguments = null, array $options = null): void
    {
        /* Update Arguments */
        if ($arguments) {
            $keys = array_keys($this->arguments);
            for ($index = 0; $index < count($keys); $index++) {
                $this->arguments[$keys[$index]] = $arguments[$index];
            }
        }

        /* Update Options */
        if ($options) {
            foreach ($options as $option => $value) {
                $this->options[$option] = $value;
            }
        }
    }
Update Arguments and Options

@param array|null $arguments
@param array|null $options
@return void