mirror of
https://github.com/rectorphp/rector.git
synced 2024-05-31 16:30:51 +00:00
Updated Rector to commit b6f5a0392d90d8f8b7f6fc42db896fdc3562d2d8
b6f5a0392d
[Php83] add type to final class constant (#5662)
This commit is contained in:
parent
cd427d527e
commit
b02be823eb
|
@ -157,6 +157,6 @@ CODE_SAMPLE
|
||||||
}
|
}
|
||||||
private function canBeInherited(ClassConst $classConst, Class_ $class) : bool
|
private function canBeInherited(ClassConst $classConst, Class_ $class) : bool
|
||||||
{
|
{
|
||||||
return !$class->isFinal() && !$classConst->isPrivate();
|
return !$class->isFinal() && !$classConst->isPrivate() && !$classConst->isFinal();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,12 +19,12 @@ final class VersionResolver
|
||||||
* @api
|
* @api
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public const PACKAGE_VERSION = '3ef3e35c45970bce4000f45f9c1cb651f078c5a0';
|
public const PACKAGE_VERSION = 'b6f5a0392d90d8f8b7f6fc42db896fdc3562d2d8';
|
||||||
/**
|
/**
|
||||||
* @api
|
* @api
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public const RELEASE_DATE = '2024-02-24 02:26:27';
|
public const RELEASE_DATE = '2024-02-24 08:18:26';
|
||||||
/**
|
/**
|
||||||
* @var int
|
* @var int
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user