Passed
Branch master (11b479)
by Mikael
03:34
created
src/Route/RouteHandler.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
      *
17 17
      * @param string                       $method    the request method.
18 18
      * @param string                       $path      that was matched.
19
-     * @param string|array                 $action    base for the callable.
19
+     * @param callable|null                 $action    base for the callable.
20 20
      * @param array                        $arguments optional arguments.
21 21
      * @param ContainerInjectableInterface $di        container with services.
22 22
      *
@@ -138,7 +138,6 @@  discard block
 block discarded – undo
138 138
      *
139 139
      * @param string|array                 $action    base for the callable
140 140
      * @param array                        $arguments optional arguments
141
-     * @param ContainerInjectableInterface $di        container with services
142 141
      *
143 142
      * @return mixed as the result from the route handler.
144 143
      */
Please login to merge, or discard this patch.
src/Route/Router.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -459,7 +459,7 @@
 block discarded – undo
459 459
     /**
460 460
      * Get the route for the last route that was handled.
461 461
      *
462
-     * @return mixed
462
+     * @return string
463 463
      */
464 464
     public function getLastRoute()
465 465
     {
Please login to merge, or discard this patch.