Completed
Push — master ( d68f4d...84e19d )
by Gabriel
11:04 queued 11s
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/MethodCallStage.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.
tests/DispatcherTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +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 8
 use Psr\Http\Message\RequestInterface;
10 9
 use Psr\Http\Message\ResponseInterface;
11 10
 
Please login to merge, or discard this patch.
src/Resolver/Cache/FileManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 
22 22
     /**
23 23
      * @param DefinitionsCollection $definitionCollection
24
-     * @param null $path
24
+     * @param string $path
25 25
      */
26 26
     public static function read($definitionCollection, $path = null)
27 27
     {
Please login to merge, or discard this patch.
src/Resolver/Cache/ResolverCache.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
 
42 42
     /**
43 43
      * @param array $action
44
-     * @return mixed|null
44
+     * @return string
45 45
      */
46 46
     public static function resolveFromAction($action)
47 47
     {
@@ -62,7 +62,6 @@  discard block
 block discarded – undo
62 62
     }
63 63
 
64 64
     /**
65
-     * @param array $action
66 65
      * @param $class
67 66
      * @return mixed|null
68 67
      */
@@ -73,7 +72,7 @@  discard block
 block discarded – undo
73 72
     }
74 73
 
75 74
     /**
76
-     * @param $key
75
+     * @param string $key
77 76
      * @return mixed|null
78 77
      */
79 78
     public static function resolveFromKey($key)
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
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Nip\Controllers\Controller;
6 6
 use Nip\Dispatcher\Exceptions\InvalidCommandException;
7 7
 use Nip\Dispatcher\Resolver\ClassResolver\NameFormatter;
8
-use Psr\Http\Message\RequestInterface;
9 8
 use Psr\Http\Message\ResponseInterface;
10 9
 
11 10
 /**
Please login to merge, or discard this patch.
tests/Resolver/Cache/DefinitionCollectionTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Nip\Dispatcher\Tests\Resolver\Cache;
4 4
 
5 5
 use Nip\Dispatcher\Resolver\Cache\DefinitionsCollection;
6
-use Nip\Dispatcher\Resolver\Cache\FileManager;
7 6
 use Nip\Dispatcher\Tests\AbstractTest;
8 7
 
9 8
 /**
Please login to merge, or discard this patch.
src/Resolver/Pipeline/Stages/ModuleControllerStage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
     }
55 55
 
56 56
     /**
57
-     * @param $classes
57
+     * @param string[] $classes
58 58
      * @throws \Exception
59 59
      */
60 60
     protected function saveClassesInAction($classes)
Please login to merge, or discard this patch.