Completed
Push — develop ( 641625...fa7e84 )
by Bohuslav
04:07
created
src/Dispatcher.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/Dispatcher/ClassAutoBind.php 2 patches
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.
Indentation   -2 removed lines patch added patch discarded remove patch
@@ -232,7 +232,6 @@  discard block
 block discarded – undo
232 232
      * @param mixed $parameters route parameters
233 233
      * @param mixed $handler    handler that should be executed
234 234
      * @param mixed $matches    found matched variables
235
-
236 235
      * @return mixed
237 236
      */
238 237
     private function resolveNamespace($parameters, $handler, $matches)
@@ -288,7 +287,6 @@  discard block
 block discarded – undo
288 287
      * @param mixed $matches    found matched variables
289 288
      * @param mixed $parameters route parameters
290 289
      * @param mixed $handlers   handler that should be executed
291
-
292 290
      * @return mixed
293 291
      */
294 292
     private function getFunctionArgumentsControlers(
Please login to merge, or discard this patch.
src/Dispatcher/ClosureAutoBind.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/Route/Route/Parsed.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,6 @@
 block discarded – undo
78 78
     /**
79 79
      * Sets placeholders extracted from route.
80 80
      *
81
-     * @param mixed $parameters
82 81
      *
83 82
      * @return self for fluent interface
84 83
      */
Please login to merge, or discard this patch.
src/Matcher/Regex.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.