diff --git a/rules/CodingStyle/Rector/ClassMethod/MakeInheritedMethodVisibilitySameAsParentRector.php b/rules/CodingStyle/Rector/ClassMethod/MakeInheritedMethodVisibilitySameAsParentRector.php index 28b8c779c01..07117271fd9 100644 --- a/rules/CodingStyle/Rector/ClassMethod/MakeInheritedMethodVisibilitySameAsParentRector.php +++ b/rules/CodingStyle/Rector/ClassMethod/MakeInheritedMethodVisibilitySameAsParentRector.php @@ -114,7 +114,7 @@ public function refactor(Node $node) : ?Node /** @var ReflectionMethod $parentReflectionMethod */ $parentReflectionMethod = $nativeClassReflection->getMethod($methodName); if ($this->isClassMethodCompatibleWithParentReflectionMethod($classMethod, $parentReflectionMethod)) { - continue; + continue 2; } $this->changeClassMethodVisibilityBasedOnReflectionMethod($classMethod, $parentReflectionMethod); $hasChanged = \true; diff --git a/src/Application/VersionResolver.php b/src/Application/VersionResolver.php index 94767051555..24ac2a820f1 100644 --- a/src/Application/VersionResolver.php +++ b/src/Application/VersionResolver.php @@ -19,12 +19,12 @@ final class VersionResolver * @api * @var string */ - public const PACKAGE_VERSION = 'd246d27a9442cc08a419e899e07c2c19a680eb80'; + public const PACKAGE_VERSION = '2d862a7c7750c79e4c16be6e7c4e87ba324abfa7'; /** * @api * @var string */ - public const RELEASE_DATE = '2024-10-30 00:17:39'; + public const RELEASE_DATE = '2024-10-31 04:48:40'; /** * @var int */