Updated Rector to commit 4c40eb60ca984574eea3fa75e8ac59e9c8e07e5e

4c40eb60ca [TypeDeclaration] Handle initialized on getter on ReturnTypeFromStrictTypedPropertyRector (#5784)
This commit is contained in:
Tomas Votruba 2024-03-31 19:07:37 +00:00
parent 0a7d532276
commit 9b731daab1
2 changed files with 3 additions and 3 deletions

View File

@ -149,7 +149,7 @@ CODE_SAMPLE
if ($phpPropertyReflection->getNativeType() instanceof MixedType) {
return [];
}
$propertyTypes[] = $phpPropertyReflection->getNativeType();
$propertyTypes[] = $this->nodeTypeResolver->getNativeType($return->expr);
}
return $propertyTypes;
}

View File

@ -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
*/