File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,12 +19,12 @@ final class VersionResolver
1919 * @api
2020 * @var string
2121 */
22- public const PACKAGE_VERSION = '8a226613efca078f0dc3629e94c3463f4125b18f ' ;
22+ public const PACKAGE_VERSION = '3ce9bbba2b30c0d4dcee5d7478a410ce196c0f5d ' ;
2323 /**
2424 * @api
2525 * @var string
2626 */
27- public const RELEASE_DATE = '2026-05-21 20:22:41 ' ;
27+ public const RELEASE_DATE = '2026-05-21 21:48:33 ' ;
2828 /**
2929 * @var int
3030 */
Original file line number Diff line number Diff line change @@ -175,15 +175,7 @@ public function hasFinalParentConstructor(Class_ $class): bool
175175 if (!$ ancestor ->hasNativeMethod (MethodName::CONSTRUCT )) {
176176 continue ;
177177 }
178- $ parentClass = $ this ->astResolver ->resolveClassFromClassReflection ($ ancestor );
179- if (!$ parentClass instanceof ClassLike) {
180- continue ;
181- }
182- $ parentConstructorMethod = $ parentClass ->getMethod (MethodName::CONSTRUCT );
183- if (!$ parentConstructorMethod instanceof ClassMethod) {
184- continue ;
185- }
186- return $ parentConstructorMethod ->isFinal ();
178+ return $ ancestor ->getNativeMethod (MethodName::CONSTRUCT )->isFinalByKeyword ()->yes ();
187179 }
188180 return \false;
189181 }
You can’t perform that action at this time.
0 commit comments