Completed
Push — master ( b9be26...c0baca )
by Bohuslav
02:07
created
src/Dispatchers/DispatcherClosure.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
      * @param mixed $matches    parameters from request
112 112
      * @param mixed $parameters expected parameters from route
113 113
      *
114
-     * @return array Parameters in right order, if there are not any
114
+     * @return callable Parameters in right order, if there are not any
115 115
      *         parametrs an empty array is returned.
116 116
      */
117 117
     private function getFunctionArguments($paramMap, $matches, $parameters)
Please login to merge, or discard this patch.
src/Dispatchers/Interfaces/DispatcherInterface.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,6 @@
 block discarded – undo
31 31
     /**
32 32
      * Sets not found handler
33 33
      *
34
-     * @param ParsedRoute $route Instance of found parsed route
35 34
      *
36 35
      * @return self for fluent interface
37 36
      */
Please login to merge, or discard this patch.
src/Route/ParsedRoute.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     /**
37 37
      * ParsedRoute constructor
38 38
      *
39
-     * @param \Kambo\Router\Route $route
39
+     * @param Route $route
40 40
      */
41 41
     public function __construct(Route $route)
42 42
     {
@@ -66,7 +66,6 @@  discard block
 block discarded – undo
66 66
     /**
67 67
      * Sets placeholders extracted from route.
68 68
      *
69
-     * @param mixed $parameters
70 69
      *
71 70
      * @return self for fluent interface
72 71
      */
Please login to merge, or discard this patch.
src/Matcher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -253,7 +253,7 @@
 block discarded – undo
253 253
         $parameters = $this->extractVariableRouteParts($route);
254 254
         if (isset($parameters)) {
255 255
             foreach ($parameters as $variables) {
256
-                list($valueToReplace, , $parametersVariables) = array_pad(
256
+                list($valueToReplace,, $parametersVariables) = array_pad(
257 257
                     $variables,
258 258
                     3,
259 259
                     null
Please login to merge, or discard this patch.