| Total Complexity | 1 |
| Total Lines | 13 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class StringHelper |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Sanitizes a string by trimming whitespace and replacing '&' and '<' characters. |
||
| 11 | * |
||
| 12 | * @param string $inputString The string to sanitize. |
||
| 13 | * @return string The sanitized string. |
||
| 14 | */ |
||
| 15 | public static function sanitize(string $inputString): string |
||
| 20 | } |
||
| 21 | } |