mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-05 02:40:50 +00:00
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:
parent
de9745c9cb
commit
b05ad66b87
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user