Code Duplication    Length = 3-3 lines in 2 locations

Src/Router/Dispatcher/Dispatcher.php 2 locations

@@ 174-176 (lines=3) @@
171
            $this->_getParamsFromTypeHint($args);
172
        }
173
174
        if (\count($this->providedArguments) - \count($this->constructParams) > 0) {
175
            throw new DispatchException('Missing parameters');
176
        }
177
178
        \ksort($this->providedArguments);
179
        return $this->providedArguments;
@@ 218-220 (lines=3) @@
215
                $this->providedArguments[$constructorParamIndex] = $args[$parameterVarName];
216
            }
217
        }
218
        if (\count($this->constructParams) - \count($this->providedArguments) > 0) {
219
            throw new DispatchException('Missing parameters');
220
        }
221
    }
222
223
    /**