| @@ -10,6 +10,10 @@ discard block | ||
| 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 | ||
| 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 |      { | 
| @@ -20,7 +20,7 @@ | ||
| 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 |      { | 
| @@ -8,6 +8,9 @@ discard block | ||
| 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 | ||
| 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 |      { | 
| @@ -26,7 +26,7 @@ | ||
| 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; |