1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-30 09:38:57 +01:00

Add extra assertion

This commit is contained in:
Daniil Gentili 2023-07-22 21:14:37 +02:00
parent d4fee048d1
commit bd97e3075e

View File

@ -17,6 +17,7 @@ final class FilterTextCaseInsensitive extends Filter
private readonly string $content
) {
Assert::notEmpty($content);
Assert::lower($content);
}
public function apply(Update $update): bool
{