| Total Complexity | 3 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | final class Email |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Filter an email |
||
| 14 | * |
||
| 15 | * The return value is the email, as expected by the \TraderInteractive\Filterer class. |
||
| 16 | * |
||
| 17 | * @param mixed $value The value to filter. |
||
| 18 | * |
||
| 19 | * @return string The passed in $value. |
||
| 20 | * |
||
| 21 | * @throws FilterException if the value did not pass validation. |
||
| 22 | */ |
||
| 23 | public static function filter($value) : string |
||
| 37 |