mirror of https://github.com/rectorphp/rector.git
Updated Rector to commit 26890958bc539e9a2234f1457a81d37f5972bf79
26890958bc
[Php80] Use identical compare on PromotedPropertyCandidateResolver (#5745)
This commit is contained in:
parent
e94ff85194
commit
b38b8f3e85
|
@ -67,7 +67,7 @@ final class PromotedPropertyCandidateResolver
|
||||||
}
|
}
|
||||||
private function matchPropertyPromotionCandidate(Property $property, ClassMethod $constructClassMethod) : ?PropertyPromotionCandidate
|
private function matchPropertyPromotionCandidate(Property $property, ClassMethod $constructClassMethod) : ?PropertyPromotionCandidate
|
||||||
{
|
{
|
||||||
if ($property->flags == 0) {
|
if ($property->flags === 0) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
$onlyProperty = $property->props[0];
|
$onlyProperty = $property->props[0];
|
||||||
|
|
|
@ -19,12 +19,12 @@ final class VersionResolver
|
||||||
* @api
|
* @api
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public const PACKAGE_VERSION = '765338ec5a4a725ce9b6788582372f24c09a3f82';
|
public const PACKAGE_VERSION = '26890958bc539e9a2234f1457a81d37f5972bf79';
|
||||||
/**
|
/**
|
||||||
* @api
|
* @api
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public const RELEASE_DATE = '2024-03-20 21:08:33';
|
public const RELEASE_DATE = '2024-03-20 14:19:00';
|
||||||
/**
|
/**
|
||||||
* @var int
|
* @var int
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue