Code Duplication    Length = 8-8 lines in 2 locations

vendor/symfony/console/Input/Input.php 1 location

@@ 147-154 (lines=8) @@
144
     *
145
     * @throws InvalidArgumentException When argument given doesn't exist
146
     */
147
    public function setArgument($name, $value)
148
    {
149
        if (!$this->definition->hasArgument($name)) {
150
            throw new InvalidArgumentException(sprintf('The "%s" argument does not exist.', $name));
151
        }
152
153
        $this->arguments[$name] = $value;
154
    }
155
156
    /**
157
     * Returns true if an InputArgument object exists by name or position.

vendor/symfony/console/Input/ArrayInput.php 1 location

@@ 215-222 (lines=8) @@
212
     *
213
     * @throws InvalidArgumentException When argument given doesn't exist
214
     */
215
    private function addArgument($name, $value)
216
    {
217
        if (!$this->definition->hasArgument($name)) {
218
            throw new InvalidArgumentException(sprintf('The "%s" argument does not exist.', $name));
219
        }
220
221
        $this->arguments[$name] = $value;
222
    }
223
}
224