Test Setup Failed
Push — master ( 251d28...891328 )
by Gabriel
09:50
created
src/Resolver/ClassResolver.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
 {
14 14
 
15 15
     /**
16
-     * @param $module
17
-     * @param $controller
16
+     * @param string $module
17
+     * @param string $controller
18 18
      * @return Controller
19 19
      */
20 20
     public static function resolveFromParams($module, $controller)
Please login to merge, or discard this patch.
src/Resolver/Pipeline/Stages/AbstractStage.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
     protected $command;
17 17
 
18 18
     /**
19
-     * @param Command $methodCall
20 19
      * @return Command
21 20
      */
22 21
     public function __invoke(Command $command): Command
Please login to merge, or discard this patch.
src/Resolver/Pipeline/Stages/ActionCallStage.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Nip\Controllers\Controller;
6 6
 use Nip\Dispatcher\Exceptions\InvalidCommandException;
7
-use Psr\Http\Message\RequestInterface;
8 7
 use Psr\Http\Message\ResponseInterface;
9 8
 
10 9
 /**
Please login to merge, or discard this patch.
src/Resolver/Pipeline/Stages/ClosureStage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
     /**
35 35
      * Run the route action and return the response.
36 36
      *
37
-     * @return mixed
37
+     * @return \Psr\Http\Message\ResponseInterface
38 38
      */
39 39
     protected function runClosure()
40 40
     {
Please login to merge, or discard this patch.
tests/DispatcherTest.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -5,10 +5,6 @@
 block discarded – undo
5 5
 use Nip\Dispatcher\Dispatcher;
6 6
 use Nip\Dispatcher\Commands\Command;
7 7
 use Nip\Dispatcher\Exceptions\InvalidCommandException;
8
-
9
-use League\Pipeline\PipelineInterface;
10
-use Nip\Dispatcher\Resolver\Pipeline\PipelineBuilder;
11
-
12 8
 use Psr\Http\Message\RequestInterface;
13 9
 use Psr\Http\Message\ResponseInterface;
14 10
 
Please login to merge, or discard this patch.