Passed
Push — master ( 305e2a...ef6500 )
by DeGracia
03:03
created
src/Occurrences/Between.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,6 +10,10 @@  discard block
 block discarded – undo
10 10
     protected $bigger;
11 11
     protected $size;
12 12
 
13
+    /**
14
+     * @param integer $smaller
15
+     * @param integer $bigger
16
+     */
13 17
     public function __construct($smaller, $bigger)
14 18
     {
15 19
         $this->smaller = $smaller;
@@ -21,7 +25,7 @@  discard block
 block discarded – undo
21 25
      * Valide la range de l'occurence
22 26
      *
23 27
      * @param integer $value
24
-     * @return integer
28
+     * @return boolean
25 29
      */
26 30
     public function validate($value)
27 31
     {
Please login to merge, or discard this patch.
src/Occurrences/None.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      * Valide la range de l'occurence
21 21
      *
22 22
      * @param integer $value
23
-     * @return integer
23
+     * @return boolean
24 24
      */
25 25
     public function validate($value)
26 26
     {
Please login to merge, or discard this patch.
src/Occurrences/Strict.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,6 +8,9 @@  discard block
 block discarded – undo
8 8
 {
9 9
     protected $size;
10 10
 
11
+    /**
12
+     * @param integer $size
13
+     */
11 14
     public function __construct($size)
12 15
     {
13 16
         $this->size = $size;
@@ -17,7 +20,7 @@  discard block
 block discarded – undo
17 20
      * Valide la range de l'occurence
18 21
      *
19 22
      * @param integer $value
20
-     * @return integer
23
+     * @return boolean
21 24
      */
22 25
     public function validate($value)
23 26
     {
Please login to merge, or discard this patch.
src/Criteria.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     public function setName($name)
27 27
     {
28 28
         if (! $name) {
29
-             $name = $this->dictionary->getName() . '_' . $this->occurrence->getName();
29
+                $name = $this->dictionary->getName() . '_' . $this->occurrence->getName();
30 30
         }
31 31
 
32 32
         return $this->name = $name;
Please login to merge, or discard this patch.