Skip to content

Commit

Permalink
Updated Rector to commit 4c40eb60ca984574eea3fa75e8ac59e9c8e07e5e
Browse files Browse the repository at this point in the history
rectorphp/rector-src@4c40eb6 [TypeDeclaration] Handle initialized on getter on ReturnTypeFromStrictTypedPropertyRector (#5784)
  • Loading branch information
TomasVotruba committed Mar 31, 2024
1 parent 0a7d532 commit 9b731da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ private function resolveReturnPropertyType(ClassMethod $classMethod) : array
if ($phpPropertyReflection->getNativeType() instanceof MixedType) {
return [];
}
$propertyTypes[] = $phpPropertyReflection->getNativeType();
$propertyTypes[] = $this->nodeTypeResolver->getNativeType($return->expr);
}
return $propertyTypes;
}
Expand Down
4 changes: 2 additions & 2 deletions src/Application/VersionResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '93e025900b640f8182b267812a08c364d42590ef';
public const PACKAGE_VERSION = '4c40eb60ca984574eea3fa75e8ac59e9c8e07e5e';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2024-03-31 00:27:47';
public const RELEASE_DATE = '2024-04-01 02:05:13';
/**
* @var int
*/
Expand Down

0 comments on commit 9b731da

Please sign in to comment.