Completed
Push — master ( f9e1e7...a2f760 )
by Alex
02:56
created
src/Application.php 2 patches
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
      * Add a GET route.
163 163
      *
164 164
      * @param string $route
165
-     * @param mixed  $action
165
+     * @param \Closure  $action
166 166
      *
167 167
      * @return void
168 168
      */
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
      * Add a POST route.
176 176
      *
177 177
      * @param string $route
178
-     * @param mixed  $action
178
+     * @param \Closure  $action
179 179
      *
180 180
      * @return void
181 181
      */
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
      * Add a PUT route.
189 189
      *
190 190
      * @param string $route
191
-     * @param mixed  $action
191
+     * @param \Closure  $action
192 192
      *
193 193
      * @return void
194 194
      */
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
      * Add a DELETE route.
202 202
      *
203 203
      * @param string $route
204
-     * @param mixed  $action
204
+     * @param \Closure  $action
205 205
      *
206 206
      * @return void
207 207
      */
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
      * Add a PATCH route.
215 215
      *
216 216
      * @param string $route
217
-     * @param mixed  $action
217
+     * @param \Closure  $action
218 218
      *
219 219
      * @return void
220 220
      */
@@ -378,7 +378,7 @@  discard block
 block discarded – undo
378 378
      * Set a config item
379 379
      *
380 380
      * @param string $key
381
-     * @param mixed  $value
381
+     * @param boolean  $value
382 382
      */
383 383
     public function setConfig($key, $value)
384 384
     {
@@ -389,7 +389,7 @@  discard block
 block discarded – undo
389 389
      * Get a config key's value
390 390
      *
391 391
      * @param string $key
392
-     * @param mixed  $default
392
+     * @param boolean  $default
393 393
      *
394 394
      * @return mixed
395 395
      */
Please login to merge, or discard this patch.
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -8,18 +8,18 @@
 block discarded – undo
8 8
 
9 9
 namespace Proton;
10 10
 
11
+use League\Container\Container;
11 12
 use League\Container\ContainerAwareInterface;
12 13
 use League\Container\ContainerAwareTrait;
13 14
 use League\Container\ContainerInterface;
14 15
 use League\Event\EmitterTrait;
15 16
 use League\Event\ListenerAcceptorInterface;
16
-use Symfony\Component\HttpKernel\HttpKernelInterface;
17
-use Symfony\Component\HttpKernel\TerminableInterface;
18
-use League\Container\Container;
19 17
 use League\Route\RouteCollection;
20 18
 use Monolog\Logger;
21 19
 use Symfony\Component\HttpFoundation\Request;
22 20
 use Symfony\Component\HttpFoundation\Response;
21
+use Symfony\Component\HttpKernel\HttpKernelInterface;
22
+use Symfony\Component\HttpKernel\TerminableInterface;
23 23
 
24 24
 /**
25 25
  * Proton Application Class.
Please login to merge, or discard this patch.
tests/ApplicationTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use League\Route\Http\Exception\NotFoundException;
8 8
 use League\Route\RouteCollection;
9 9
 use Monolog\Logger;
10
-use Proton;
11 10
 use Proton\Application;
12 11
 use Symfony\Component\HttpFoundation\Request;
13 12
 use Symfony\Component\HttpFoundation\Response;
Please login to merge, or discard this patch.