| @@ -181,6 +181,9 @@ discard block | ||
| 181 | 181 | return self::GENERIC; | 
| 182 | 182 | } | 
| 183 | 183 | |
| 184 | + /** | |
| 185 | + * @param string $value | |
| 186 | + */ | |
| 184 | 187 | protected function isValid($value) | 
| 185 | 188 |      { | 
| 186 | 189 |          if (isset($this->charValue[$value])) { | 
| @@ -191,7 +194,7 @@ discard block | ||
| 191 | 194 | } | 
| 192 | 195 | |
| 193 | 196 | /** | 
| 194 | - * @param $value | |
| 197 | + * @param string $value | |
| 195 | 198 | * @return bool | 
| 196 | 199 | */ | 
| 197 | 200 | protected function isNullType($value) | 
| @@ -204,7 +207,7 @@ discard block | ||
| 204 | 207 | } | 
| 205 | 208 | |
| 206 | 209 | /** | 
| 207 | - * @param $value | |
| 210 | + * @param string $value | |
| 208 | 211 | * @return bool | 
| 209 | 212 | */ | 
| 210 | 213 | protected function isUTF8Invalid($value) | 
| @@ -58,7 +58,7 @@ | ||
| 58 | 58 | } | 
| 59 | 59 | |
| 60 | 60 | /** | 
| 61 | - * @return string | |
| 61 | + * @return InvalidEmail | |
| 62 | 62 | */ | 
| 63 | 63 | public function getError() | 
| 64 | 64 |      { | 
| @@ -23,6 +23,9 @@ | ||
| 23 | 23 | */ | 
| 24 | 24 | private $error; | 
| 25 | 25 | |
| 26 | + /** | |
| 27 | + * @param string $email | |
| 28 | + */ | |
| 26 | 29 | public function isValid($email, EmailLexer $emailLexer) | 
| 27 | 30 |      { | 
| 28 | 31 | // use the input to check DNS if we cannot extract something similar to a domain | 
| @@ -20,6 +20,9 @@ | ||
| 20 | 20 | $this->validations = $validations; | 
| 21 | 21 | } | 
| 22 | 22 | |
| 23 | + /** | |
| 24 | + * @param string $email | |
| 25 | + */ | |
| 23 | 26 | public function isValid($email, EmailLexer $emailLexer) | 
| 24 | 27 |      { | 
| 25 | 28 | $result = true; | 
| @@ -63,6 +63,9 @@ | ||
| 63 | 63 | return $chars; | 
| 64 | 64 | } | 
| 65 | 65 | |
| 66 | + /** | |
| 67 | + * @param integer $code_point | |
| 68 | + */ | |
| 66 | 69 | protected function utf8Chr($code_point) | 
| 67 | 70 |      { | 
| 68 | 71 | |