Completed
Push — master ( da4f94...b9be26 )
by Bohuslav
02:51
created
src/Matcher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -228,7 +228,7 @@
 block discarded – undo
228 228
         $parameters = $this->_extractVariableRouteParts($route);
229 229
         if (isset($parameters)) {
230 230
             foreach ($parameters as $variables) {
231
-                list($valueToReplace, , $parametersVariables) = array_pad($variables, 3, null);
231
+                list($valueToReplace,, $parametersVariables) = array_pad($variables, 3, null);
232 232
                 if (isset($parametersVariables)) {
233 233
                     $route = str_replace($valueToReplace, '('.reset($parametersVariables).')', $route);
234 234
                 } else {
Please login to merge, or discard this patch.
src/Dispatchers/DispatcherClass.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
230 230
      * @param mixed $handler    handler that should be executed
231 231
      * @param mixed $matches    found matched variables
232 232
 
233
-     * @return mixed
233
+     * @return string
234 234
      */
235 235
     private function resolveNamespace($parameters, $handler, $matches)
236 236
     {
@@ -323,7 +323,7 @@  discard block
 block discarded – undo
323 323
     /**
324 324
      * Get names of parameters for provided class and method
325 325
      *
326
-     * @param class  $class      name of class
326
+     * @param string  $class      name of class
327 327
      * @param string $methodName name of method
328 328
      *
329 329
      * @return array
Please login to merge, or discard this patch.