mirror of https://github.com/rectorphp/rector.git
Updated Rector to commit f2a8542f3e7538a2c1aafdfd93a773e4065adcff
f2a8542f3e
Typo fix (#5341)
This commit is contained in:
parent
e5e3c815d5
commit
b4235c46ba
|
@ -39,12 +39,12 @@ final class MatchParamTypeExpectedNameResolver
|
|||
if ($param->type === null) {
|
||||
return null;
|
||||
}
|
||||
$staticType = $this->staticTypeMapper->mapPhpParserNodePHPStanType($param->type);
|
||||
// include nullabgitle too
|
||||
// include nullable too
|
||||
// skip date time + date time interface, as should be kept
|
||||
if ($this->nodeTypeResolver->isObjectType($param->type, new ObjectType('DateTimeInterface'))) {
|
||||
return null;
|
||||
}
|
||||
$staticType = $this->staticTypeMapper->mapPhpParserNodePHPStanType($param->type);
|
||||
$expectedName = $this->propertyNaming->getExpectedNameFromType($staticType);
|
||||
if (!$expectedName instanceof ExpectedName) {
|
||||
return null;
|
||||
|
|
|
@ -19,12 +19,12 @@ final class VersionResolver
|
|||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '14f11280c85a2776b211dac001f0accd4295c587';
|
||||
public const PACKAGE_VERSION = 'f2a8542f3e7538a2c1aafdfd93a773e4065adcff';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2023-12-08 21:39:23';
|
||||
public const RELEASE_DATE = '2023-12-08 14:43:36';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue