Code Duplication    Length = 3-3 lines in 2 locations

Src/Router/Dispatcher/Dispatcher.php 2 locations

@@ 182-184 (lines=3) @@
179
            $this->_getParamsFromTypeHint($args);
180
        }
181
182
        if (\count($this->providedArguments) - \count($this->constructParams) > 0) {
183
            throw new DispatchException('Missing parameters');
184
        }
185
186
        \ksort($this->providedArguments);
187
        return $this->providedArguments;
@@ 226-228 (lines=3) @@
223
                $this->providedArguments[$constructorParamIndex] = $args[$parameterVarName];
224
            }
225
        }
226
        if (\count($this->constructParams) - \count($this->providedArguments) > 0) {
227
            throw new DispatchException('Missing parameters');
228
        }
229
    }
230
231
    /**