Test Failed
Branch master (63fea9)
by Gabriel
10:33
created
src/Traits/ActionCallTrait.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     }
49 49
 
50 50
     /**
51
-     * @param $method
51
+     * @param boolean $method
52 52
      * @param array $parameters
53 53
      * @return ResponseInterface
54 54
      */
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     }
74 74
 
75 75
     /**
76
-     * @param $method
76
+     * @param string $method
77 77
      */
78 78
     protected function callUtilityMethods($method)
79 79
     {
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
     }
84 84
 
85 85
     /**
86
-     * @param $action
86
+     * @param boolean $action
87 87
      * @return bool
88 88
      */
89 89
     protected function validAction($action)
Please login to merge, or discard this patch.
src/Traits/DispatcherAwareTrait.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\Controllers\Traits;
4 4
 
5 5
 use Nip\Container\Container;
6
-use Nip\Controllers\Controller;
7 6
 use Nip\Dispatcher\Dispatcher;
8 7
 use Nip\Request;
9 8
 
Please login to merge, or discard this patch.
src/Traits/NameWorksTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -56,6 +56,9 @@
 block discarded – undo
56 56
         $this->setName($this->generateName());
57 57
     }
58 58
 
59
+    /**
60
+     * @return string
61
+     */
59 62
     protected function generateName()
60 63
     {
61 64
         return $this->getRequest()->getControllerName();
Please login to merge, or discard this patch.
tests/Traits/DispatchAwareTraitTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,9 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use Nip\Controllers\Tests\AbstractTest;
6 6
 use Nip\Controllers\Tests\Fixtures\BaseControllerWithUtilityMethods;
7
-use Nip\Dispatcher\Dispatcher;
8 7
 use Nip\Request;
9
-use Mockery as m;
10 8
 
11 9
 /**
12 10
  * Class DispatchAwareTraitTest
Please login to merge, or discard this patch.