| @@ -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) | 
| @@ -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 | |
| @@ -78,6 +78,9 @@ discard block | ||
| 78 | 78 | return $result; | 
| 79 | 79 | } | 
| 80 | 80 | |
| 81 | + /** | |
| 82 | + * @param \Egulias\EmailValidator\Exception\InvalidEmail|null $possibleError | |
| 83 | + */ | |
| 81 | 84 | private function addNewError($possibleError, array $errors) | 
| 82 | 85 |      { | 
| 83 | 86 |          if (null !== $possibleError) { | 
| @@ -87,6 +90,9 @@ discard block | ||
| 87 | 90 | return $errors; | 
| 88 | 91 | } | 
| 89 | 92 | |
| 93 | + /** | |
| 94 | + * @param boolean $result | |
| 95 | + */ | |
| 90 | 96 | private function shouldStop($result) | 
| 91 | 97 |      { | 
| 92 | 98 | return !$result && $this->mode === self::STOP_ON_ERROR; | 
| @@ -7,7 +7,6 @@ | ||
| 7 | 7 | use Egulias\EmailValidator\Exception\NoDomainPart; | 
| 8 | 8 | use Egulias\EmailValidator\Validation\MultipleErrors; | 
| 9 | 9 | use Egulias\EmailValidator\Validation\MultipleValidationWithAnd; | 
| 10 | -use Egulias\EmailValidator\Validation\NoRFCWarningsValidation; | |
| 11 | 10 | use Egulias\EmailValidator\Validation\RFCValidation; | 
| 12 | 11 | use Egulias\EmailValidator\Warning\AddressLiteral; | 
| 13 | 12 | use Egulias\EmailValidator\Warning\DomainLiteral; |