Code Duplication    Length = 3-3 lines in 2 locations

Src/Router/Dispatcher/Dispatcher.php 2 locations

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