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:
parent
d4fee048d1
commit
bd97e3075e
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user