88use PHPStan \Reflection \Annotations \AnnotationsMethodsClassReflectionExtension ;
99use PHPStan \Reflection \Annotations \AnnotationsPropertiesClassReflectionExtension ;
1010use PHPStan \Reflection \ClassReflectionExtensionRegistry ;
11+ use PHPStan \Reflection \Mixin \MixinMethodsClassReflectionExtension ;
12+ use PHPStan \Reflection \Mixin \MixinPropertiesClassReflectionExtension ;
1113use PHPStan \Reflection \Php \PhpClassReflectionExtension ;
1214use PHPStan \Reflection \RequireExtension \RequireExtendsMethodsClassReflectionExtension ;
1315use PHPStan \Reflection \RequireExtension \RequireExtendsPropertiesClassReflectionExtension ;
@@ -29,10 +31,13 @@ public function getRegistry(): ClassReflectionExtensionRegistry
2931 $ annotationsMethodsClassReflectionExtension = $ this ->container ->getByType (AnnotationsMethodsClassReflectionExtension::class);
3032 $ annotationsPropertiesClassReflectionExtension = $ this ->container ->getByType (AnnotationsPropertiesClassReflectionExtension::class);
3133
34+ $ mixinMethodsClassReflectionExtension = $ this ->container ->getByType (MixinMethodsClassReflectionExtension::class);
35+ $ mixinPropertiesClassReflectionExtension = $ this ->container ->getByType (MixinPropertiesClassReflectionExtension::class);
36+
3237 $ this ->registry = new ClassReflectionExtensionRegistry (
3338 $ this ->container ->getByType (Broker::class),
34- array_merge ([$ phpClassReflectionExtension ], $ this ->container ->getServicesByTag (BrokerFactory::PROPERTIES_CLASS_REFLECTION_EXTENSION_TAG ), [$ annotationsPropertiesClassReflectionExtension ]),
35- array_merge ([$ phpClassReflectionExtension ], $ this ->container ->getServicesByTag (BrokerFactory::METHODS_CLASS_REFLECTION_EXTENSION_TAG ), [$ annotationsMethodsClassReflectionExtension ]),
39+ array_merge ([$ phpClassReflectionExtension ], $ this ->container ->getServicesByTag (BrokerFactory::PROPERTIES_CLASS_REFLECTION_EXTENSION_TAG ), [$ annotationsPropertiesClassReflectionExtension, $ mixinPropertiesClassReflectionExtension ]),
40+ array_merge ([$ phpClassReflectionExtension ], $ this ->container ->getServicesByTag (BrokerFactory::METHODS_CLASS_REFLECTION_EXTENSION_TAG ), [$ annotationsMethodsClassReflectionExtension, $ mixinMethodsClassReflectionExtension ]),
3641 $ this ->container ->getServicesByTag (BrokerFactory::ALLOWED_SUB_TYPES_CLASS_REFLECTION_EXTENSION_TAG ),
3742 $ this ->container ->getByType (RequireExtendsPropertiesClassReflectionExtension::class),
3843 $ this ->container ->getByType (RequireExtendsMethodsClassReflectionExtension::class),
0 commit comments