Updated Rector to commit 104f656edd312203d24db4cbe60bd54b78c421f8

104f656edd [Performance] [TypeDeclaration] No need check parent method when method is private on AddVoidReturnTypeWhereNoReturnRector (#5690)
This commit is contained in:
Tomas Votruba 2024-03-05 01:17:56 +00:00
parent de9745c9cb
commit b05ad66b87
2 changed files with 5 additions and 2 deletions

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '7f9113531a256794a5e598663644897ba108d9a2';
public const PACKAGE_VERSION = '104f656edd312203d24db4cbe60bd54b78c421f8';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2024-03-04 22:10:12';
public const RELEASE_DATE = '2024-03-05 08:15:26';
/**
* @var int
*/

View File

@ -28,6 +28,9 @@ final class ClassMethodReturnVendorLockResolver
}
public function isVendorLocked(ClassMethod $classMethod) : bool
{
if ($classMethod->isPrivate()) {
return \false;
}
$classReflection = $this->reflectionResolver->resolveClassReflection($classMethod);
if (!$classReflection instanceof ClassReflection) {
return \false;