Refactor DashToSeparator
Filter
#678
Annotations
4 errors
src/Word/DashToSeparator.php#L37
src/Word/DashToSeparator.php:37:29: PossiblyInvalidCast: array{separator?: string, ...<array-key, mixed>} cannot be cast to string (see https://psalm.dev/190)
|
src/Word/DashToSeparator.php#L37
src/Word/DashToSeparator.php:37:29: PossiblyInvalidArgument: Argument 1 of Laminas\Filter\Word\DashToSeparator::setSeparator expects string, but possibly different type array{separator?: string, ...<array-key, mixed>}|string provided (see https://psalm.dev/092)
|
src/Word/DashToSeparator.php#L55
src/Word/DashToSeparator.php:55:13: MixedArgumentTypeCoercion: Argument 1 of Laminas\Filter\Word\DashToSeparator::filterNormalizedValue expects array<array-key, string>|string, but parent type array<array-key, mixed|string> provided (see https://psalm.dev/194)
|
src/Word/DashToSeparator.php#L75
src/Word/DashToSeparator.php:75:21: PossiblyUnusedMethod: Cannot find any calls to method Laminas\Filter\Word\DashToSeparator::getSeparator (see https://psalm.dev/087)
|
The logs for this run have expired and are no longer available.
Loading