Updated Rector to commit ccbee6ff09668241b9f8bcadbaa05ba4fb8fda5f

ccbee6ff09 [automated] Re-Generate Nodes/Rectors Documentation (#5345)
This commit is contained in:
Tomas Votruba 2023-12-10 00:29:28 +00:00
parent 0125f4dfcf
commit 976e6eb341
2 changed files with 23 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# 351 Rules Overview
# 352 Rules Overview
<br>
@ -56,7 +56,7 @@
- [Transform](#transform) (22)
- [TypeDeclaration](#typedeclaration) (39)
- [TypeDeclaration](#typedeclaration) (40)
- [Visibility](#visibility) (3)
@ -6516,6 +6516,25 @@ Change `empty()` on nullable object to instanceof check
<br>
### MergeDateTimePropertyTypeDeclarationRector
Set DateTime to DateTimeInterface for DateTime property with DateTimeInterface docblock
- class: [`Rector\TypeDeclaration\Rector\Class_\MergeDateTimePropertyTypeDeclarationRector`](../rules/TypeDeclaration/Rector/Class_/MergeDateTimePropertyTypeDeclarationRector.php)
```diff
final class SomeClass
{
- /**
- * @var DateTimeInterface
- */
- private DateTime $dateTime;
+ private DateTimeInterface $dateTime;
}
```
<br>
### NumericReturnTypeFromStrictScalarReturnsRector
Change numeric return type based on strict returns type operations

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '99dbc0d8b7ca27e803c78657979f574476208125';
public const PACKAGE_VERSION = 'ccbee6ff09668241b9f8bcadbaa05ba4fb8fda5f';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2023-12-10 00:13:21';
public const RELEASE_DATE = '2023-12-10 00:27:04';
/**
* @var int
*/