Completed
Push — master ( f76706...507944 )
by Rob
02:03
created
src/Handlers/Handler.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 devtoolboxuk\cerberus\Handlers;
4 4
 
5 5
 use ReflectionClass;
6
-
7 6
 use Exception;
8 7
 
9 8
 class Handler extends AbstractHandler
Please login to merge, or discard this patch.
tests/base.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 devtoolboxuk\cerberus\Handlers\EmailHandler;
6 6
 use devtoolboxuk\cerberus\Handlers\TextHandler;
7
-use devtoolboxuk\cerberus\Handlers\ThrottleHandler;
8 7
 use PHPUnit\Framework\TestCase;
9 8
 
10 9
 class xDetectionTest extends TestCase
Please login to merge, or discard this patch.
src/AbstractCerberus.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     }
36 36
 
37 37
     /**
38
-     * @param $name
38
+     * @param string $name
39 39
      * @return mixed|null
40 40
      */
41 41
     private function getOption($name)
Please login to merge, or discard this patch.
src/Wrappers/Wrapper.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -96,12 +96,18 @@  discard block
 block discarded – undo
96 96
         return $this->reference;
97 97
     }
98 98
 
99
+    /**
100
+     * @param string $reference
101
+     */
99 102
     protected function setReference($reference)
100 103
     {
101 104
         $this->reference = $reference;
102 105
         return $this;
103 106
     }
104 107
 
108
+    /**
109
+     * @param string $name
110
+     */
105 111
     protected function initWrapper($name)
106 112
     {
107 113
         $this->setName($name);
@@ -177,6 +183,9 @@  discard block
 block discarded – undo
177 183
         return $this->score;
178 184
     }
179 185
 
186
+    /**
187
+     * @param integer $score
188
+     */
180 189
     protected function setScore($score)
181 190
     {
182 191
         $this->score = $score;
Please login to merge, or discard this patch.