mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-29 11:33:33 +01:00
Updated Rector to commit 021085d53bd131520dd69ea0c52773e63ae7d5a7
021085d53b
Skip phpdoc types in NumericReturnTypeFromStrictReturnsRector (#6153)
This commit is contained in:
parent
b38a3eed3c
commit
b5d4e71e18
@ -98,7 +98,7 @@ CODE_SAMPLE
|
||||
if (!$return->expr instanceof Expr) {
|
||||
return null;
|
||||
}
|
||||
$exprType = $this->nodeTypeResolver->getType($return->expr);
|
||||
$exprType = $this->nodeTypeResolver->getNativeType($return->expr);
|
||||
if (!$exprType->isInteger()->yes()) {
|
||||
$isAlwaysIntType = \false;
|
||||
}
|
||||
|
@ -19,12 +19,12 @@ final class VersionResolver
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '1.2.1';
|
||||
public const PACKAGE_VERSION = '021085d53bd131520dd69ea0c52773e63ae7d5a7';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2024-07-16 05:56:46';
|
||||
public const RELEASE_DATE = '2024-07-16 11:04:14';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user