diff --git a/tests/Fixer/PhpdocNoSuperfluousParamFixerTest.php b/tests/Fixer/PhpdocNoSuperfluousParamFixerTest.php index 3a8893c6..a2303e7a 100644 --- a/tests/Fixer/PhpdocNoSuperfluousParamFixerTest.php +++ b/tests/Fixer/PhpdocNoSuperfluousParamFixerTest.php @@ -380,5 +380,26 @@ function removeMultiLineArrayShapes() {} function doNotRemoveMultiLineArrayShapes($param1, $param2, $param3, $param4, $param5) {} PHP, ]; + + yield [ + <<<'PHP' + $collection + * @param callable(TKey $a, TKey $b): int $comparator + * + * @return ArrayCollection + */ + public static function sortByKeys(Collection $collection, callable $comparator): ArrayCollection + { + } + } + PHP, + ]; } }