Completed
Push — master ( f451ed...7bd00e )
by Marco
02:07
created
src/MJanssen/Provider/RoutingServiceProvider.php 2 patches
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -87,7 +87,6 @@  discard block
 block discarded – undo
87 87
     /**
88 88
      * Adds a route, a given route-name (for named routes) and all of its methods
89 89
      *
90
-     * @param Container $app
91 90
      * @param array $route
92 91
      * @throws InvalidArgumentException
93 92
      */
@@ -150,7 +149,7 @@  discard block
 block discarded – undo
150 149
     /**
151 150
      * @param Controller $controller
152 151
      * @param $actions
153
-     * @param $type
152
+     * @param string $type
154 153
      * @throws \InvalidArgumentException
155 154
      */
156 155
     protected function addActions(Controller $controller, $actions, $type)
@@ -232,7 +231,7 @@  discard block
 block discarded – undo
232 231
      * Adds a before/after middleware by its configuration
233 232
      *
234 233
      * @param Controller $controller
235
-     * @param $type
234
+     * @param string $type
236 235
      * @param $value
237 236
      */
238 237
     protected function addMiddlewareFromConfig(Controller $controller, $type, $value)
Please login to merge, or discard this patch.
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -4,13 +4,13 @@
 block discarded – undo
4 4
 use InvalidArgumentException;
5 5
 use MJanssen\Route\Name;
6 6
 use MJanssen\Route\Route;
7
-use RuntimeException;
8
-use Silex\Application;
9
-use Silex\Controller;
10
-use Pimple\ServiceProviderInterface;
11 7
 use Pimple\Container;
8
+use Pimple\ServiceProviderInterface;
9
+use RuntimeException;
12 10
 use Silex\Api\BootableProviderInterface;
13 11
 use Silex\Api\EventListenerProviderInterface;
12
+use Silex\Application;
13
+use Silex\Controller;
14 14
 use Symfony\Component\EventDispatcher\EventDispatcherInterface;
15 15
 
16 16
 /**
Please login to merge, or discard this patch.