Refactor test structures and add token filtering #7
Annotations
5 errors
phpstan:
src/Tokenizer.php#L131
Anonymous function should return string but returns Phonyland\NGram\TokenizerFilterType|string.
|
phpstan:
src/TokenizerFilter.php#L23
Method Phonyland\NGram\TokenizerFilter::toArray() should return array{pattern: string, replacement: string} but returns array{pattern: Phonyland\NGram\TokenizerFilterType|string, replacement: string}.
|
phpstan:
src/TokenizerFilterType.php#L42
PHPDoc tag @var does not specify variable name.
|
phpstan:
src/TokenizerFilterType.php#L55
PHPDoc tag @var does not specify variable name.
|
phpstan
Process completed with exit code 1.
|