| Total Complexity | 2 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class UpperCase extends AbstractStringCase implements SanitizeRuleInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Sanitizes a string to uppercase. |
||
| 11 | * |
||
| 12 | * @param object $subject The subject to be filtered. |
||
| 13 | * @param string $field The subject field name. |
||
| 14 | * |
||
| 15 | * @return bool True if the value was sanitized, false if not. |
||
| 16 | */ |
||
| 17 | 24 | public function __invoke($subject, string $field): bool |
|
| 28 |