diff --git a/rules/DowngradePhp81/Rector/FuncCall/DowngradeHashAlgorithmXxHashRector.php b/rules/DowngradePhp81/Rector/FuncCall/DowngradeHashAlgorithmXxHashRector.php index 5ed535e3..3ea2ac45 100644 --- a/rules/DowngradePhp81/Rector/FuncCall/DowngradeHashAlgorithmXxHashRector.php +++ b/rules/DowngradePhp81/Rector/FuncCall/DowngradeHashAlgorithmXxHashRector.php @@ -89,6 +89,7 @@ public function getNodeTypes(): array /** * @param If_|Ternary|FuncCall $node + * @return null|NodeVisitor::DONT_TRAVERSE_CHILDREN|Node */ public function refactor(Node $node): null|int|Node { diff --git a/rules/DowngradePhp82/Rector/FuncCall/DowngradeIteratorCountToArrayRector.php b/rules/DowngradePhp82/Rector/FuncCall/DowngradeIteratorCountToArrayRector.php index 61cd95ea..86be906f 100644 --- a/rules/DowngradePhp82/Rector/FuncCall/DowngradeIteratorCountToArrayRector.php +++ b/rules/DowngradePhp82/Rector/FuncCall/DowngradeIteratorCountToArrayRector.php @@ -68,6 +68,7 @@ function test(array|Traversable $data) { /** * @param Ternary|FuncCall $node + * @return null|FuncCall|NodeVisitor::DONT_TRAVERSE_CHILDREN */ public function refactor(Node $node): null|FuncCall|int {