Skip to content

Refactor Tokenizer class and update method signatures #8

Refactor Tokenizer class and update method signatures

Refactor Tokenizer class and update method signatures #8

Triggered via push January 2, 2024 12:34
Status Success
Total duration 33s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 errors
phpstan: src/Tokenizer.php#L124
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.