Completed
Push — master ( 11b479...0fd37c )
by Mikael
02:25
created
src/Route/Route.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
      * Handle the action for the route.
106 106
      *
107 107
      * @param string                       $path the matched path
108
-     * @param ContainerInjectableInterface $di   container with services
108
+     * @param ContainerInterface $di   container with services
109 109
      *
110 110
      * @return mixed
111 111
      */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Anax\Route;
4 4
 
5 5
 use Anax\Commons\ContainerInjectableInterface;
6
-use Anax\Route\Exception\ConfigurationException;
7 6
 use Psr\Container\ContainerInterface;
8 7
 
9 8
 /**
Please login to merge, or discard this patch.
src/Route/RouteHandler.php 1 patch
Doc Comments   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -24,9 +24,9 @@  discard block
 block discarded – undo
24 24
      *
25 25
      * @param string                       $method    the request method.
26 26
      * @param string                       $path      that was matched.
27
-     * @param string|array                 $action    base for the callable.
27
+     * @param callable|null                 $action    base for the callable.
28 28
      * @param array                        $arguments optional arguments.
29
-     * @param ContainerInjectableInterface $di        container with services.
29
+     * @param ContainerInterface $di        container with services.
30 30
      *
31 31
      * @return mixed as the result from the route handler.
32 32
      */
@@ -158,7 +158,6 @@  discard block
 block discarded – undo
158 158
      *
159 159
      * @param string|array                 $action    base for the callable
160 160
      * @param array                        $arguments optional arguments
161
-     * @param ContainerInjectableInterface $di        container with services
162 161
      *
163 162
      * @return mixed as the result from the route handler.
164 163
      */
@@ -198,9 +197,9 @@  discard block
 block discarded – undo
198 197
     /**
199 198
      * Load callable as a service from the $di container.
200 199
      *
201
-     * @param string|array                 $action    base for the callable
200
+     * @param string[]                 $action    base for the callable
202 201
      * @param array                        $arguments optional arguments
203
-     * @param ContainerInjectableInterface $di        container with services
202
+     * @param ContainerInterface $di        container with services
204 203
      *
205 204
      * @return mixed as the result from the route handler.
206 205
      */
Please login to merge, or discard this patch.