mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-05 10:50:48 +00:00
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) {
|
if ($phpPropertyReflection->getNativeType() instanceof MixedType) {
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
$propertyTypes[] = $phpPropertyReflection->getNativeType();
|
$propertyTypes[] = $this->nodeTypeResolver->getNativeType($return->expr);
|
||||||
}
|
}
|
||||||
return $propertyTypes;
|
return $propertyTypes;
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,12 +19,12 @@ final class VersionResolver
|
||||||
* @api
|
* @api
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public const PACKAGE_VERSION = '93e025900b640f8182b267812a08c364d42590ef';
|
public const PACKAGE_VERSION = '4c40eb60ca984574eea3fa75e8ac59e9c8e07e5e';
|
||||||
/**
|
/**
|
||||||
* @api
|
* @api
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public const RELEASE_DATE = '2024-03-31 00:27:47';
|
public const RELEASE_DATE = '2024-04-01 02:05:13';
|
||||||
/**
|
/**
|
||||||
* @var int
|
* @var int
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user