Total Complexity | 1 |
Total Lines | 12 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class Htmlclean extends AbstractRule |
||
15 | { |
||
16 | /** |
||
17 | * Check if a given value is free of any html code. |
||
18 | * |
||
19 | * @credit <a href="https://github.com/Intervention/validation">Intervention/validation - \Intervention\Validation\Rules\Htmlclean</a> |
||
20 | * |
||
21 | * @param mixed $value |
||
22 | */ |
||
23 | public function check($value): bool |
||
28 |