Updated Rector to commit 381ecb376283095a82809fd319eae0cfd237165a

381ecb3762 Fix future note (#5643)
This commit is contained in:
Tomas Votruba 2024-02-20 16:24:11 +00:00
parent 1281d2f6ab
commit 7569719db8
2 changed files with 3 additions and 3 deletions

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api * @api
* @var string * @var string
*/ */
public const PACKAGE_VERSION = '522668e4edce544bcb17ba3d71182629df19fd95'; public const PACKAGE_VERSION = '381ecb376283095a82809fd319eae0cfd237165a';
/** /**
* @api * @api
* @var string * @var string
*/ */
public const RELEASE_DATE = '2024-02-20 22:59:11'; public const RELEASE_DATE = '2024-02-20 16:21:56';
/** /**
* @var int * @var int
*/ */

View File

@ -48,7 +48,7 @@ final class ClassMethodReturnTypeOverrideGuard
if ($this->magicClassMethodAnalyzer->isUnsafeOverridden($classMethod)) { if ($this->magicClassMethodAnalyzer->isUnsafeOverridden($classMethod)) {
return \true; 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()) { if ($classMethod->isPrivate()) {
return \false; return \false;
} }