mirror of https://github.com/rectorphp/rector.git
Updated Rector to commit 4c40eb60ca984574eea3fa75e8ac59e9c8e07e5e
4c40eb60ca
[TypeDeclaration] Handle initialized on getter on ReturnTypeFromStrictTypedPropertyRector (#5784)
This commit is contained in:
parent
0a7d532276
commit
9b731daab1
|
@ -149,7 +149,7 @@ CODE_SAMPLE
|
|||
if ($phpPropertyReflection->getNativeType() instanceof MixedType) {
|
||||
return [];
|
||||
}
|
||||
$propertyTypes[] = $phpPropertyReflection->getNativeType();
|
||||
$propertyTypes[] = $this->nodeTypeResolver->getNativeType($return->expr);
|
||||
}
|
||||
return $propertyTypes;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue