Skip to content

Commit f735eb5

Browse files
committed
Updated Rector to commit 89c84c4246821f1738fcd62847e10b9e3be03c5f
rectorphp/rector-src@89c84c4 [fix] Fix ParamTypeByMethodCallTypeRector for nested call (#7734)
1 parent 10e95c5 commit f735eb5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

rules/TypeDeclaration/Rector/ClassMethod/ParamTypeByMethodCallTypeRector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public function refactor(Node $node): ?Node
129129
return null;
130130
}
131131
/** @var array<StaticCall|MethodCall|FuncCall> $callers */
132-
$callers = $this->betterNodeFinder->findInstancesOf($node, [StaticCall::class, MethodCall::class, FuncCall::class]);
132+
$callers = $this->betterNodeFinder->findInstancesOfScoped([$node], [StaticCall::class, MethodCall::class, FuncCall::class]);
133133
$hasChanged = $this->refactorFunctionLike($node, $callers);
134134
if ($hasChanged) {
135135
return $node;

src/Application/VersionResolver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ final class VersionResolver
1919
* @api
2020
* @var string
2121
*/
22-
public const PACKAGE_VERSION = '3b46948b9f2101fb62a3227ef112611429bd4ae5';
22+
public const PACKAGE_VERSION = '89c84c4246821f1738fcd62847e10b9e3be03c5f';
2323
/**
2424
* @api
2525
* @var string
2626
*/
27-
public const RELEASE_DATE = '2025-12-07 23:51:44';
27+
public const RELEASE_DATE = '2025-12-08 01:15:25';
2828
/**
2929
* @var int
3030
*/

0 commit comments

Comments
 (0)