mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-01 00:40:52 +00:00
Updated Rector to commit 381ecb376283095a82809fd319eae0cfd237165a
381ecb3762
Fix future note (#5643)
This commit is contained in:
parent
1281d2f6ab
commit
7569719db8
|
@ -19,12 +19,12 @@ final class VersionResolver
|
|||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '522668e4edce544bcb17ba3d71182629df19fd95';
|
||||
public const PACKAGE_VERSION = '381ecb376283095a82809fd319eae0cfd237165a';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2024-02-20 22:59:11';
|
||||
public const RELEASE_DATE = '2024-02-20 16:21:56';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
|
|
@ -48,7 +48,7 @@ final class ClassMethodReturnTypeOverrideGuard
|
|||
if ($this->magicClassMethodAnalyzer->isUnsafeOverridden($classMethod)) {
|
||||
return \true;
|
||||
}
|
||||
// early allow add return type on private method
|
||||
// except magic check on above, early allow add return type on private method
|
||||
if ($classMethod->isPrivate()) {
|
||||
return \false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user