Skip to content

Commit 2e0fea8

Browse files
committed
Updated Rector to commit b12180819cb41d070e2bb3625a90c9011b452dca
rectorphp/rector-src@b121808 [TypeDeclarationDocblocks] Use FQCN return docblock for array of object types on AddReturnDocblockFromMethodCallDocblockRector (#7802)
1 parent 7d0ff97 commit 2e0fea8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

rules/TypeDeclarationDocblocks/Rector/ClassMethod/AddReturnDocblockFromMethodCallDocblockRector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public function refactor(Node $node): ?Node
149149
if (!$this->usefulArrayTagNodeAnalyzer->isUsefulArrayTag($calledReturnTagValue)) {
150150
return null;
151151
}
152-
$this->phpDocTypeChanger->changeReturnTypeNode($node, $phpDocInfo, $calledReturnTagValue->type);
152+
$this->phpDocTypeChanger->changeReturnType($node, $phpDocInfo, $calledClassMethodPhpDocInfo->getReturnType());
153153
return $node;
154154
}
155155
}

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 = 'e91db1f63c41939549489a95ff2a1a46cb107e30';
22+
public const PACKAGE_VERSION = 'b12180819cb41d070e2bb3625a90c9011b452dca';
2323
/**
2424
* @api
2525
* @var string
2626
*/
27-
public const RELEASE_DATE = '2026-01-03 00:21:05';
27+
public const RELEASE_DATE = '2026-01-03 18:52:45';
2828
/**
2929
* @var int
3030
*/

0 commit comments

Comments
 (0)