8
8
use PHPStan \Reflection \Annotations \AnnotationsMethodsClassReflectionExtension ;
9
9
use PHPStan \Reflection \Annotations \AnnotationsPropertiesClassReflectionExtension ;
10
10
use PHPStan \Reflection \ClassReflectionExtensionRegistry ;
11
+ use PHPStan \Reflection \Mixin \MixinMethodsClassReflectionExtension ;
12
+ use PHPStan \Reflection \Mixin \MixinPropertiesClassReflectionExtension ;
11
13
use PHPStan \Reflection \Php \PhpClassReflectionExtension ;
12
14
use PHPStan \Reflection \RequireExtension \RequireExtendsMethodsClassReflectionExtension ;
13
15
use PHPStan \Reflection \RequireExtension \RequireExtendsPropertiesClassReflectionExtension ;
@@ -29,10 +31,13 @@ public function getRegistry(): ClassReflectionExtensionRegistry
29
31
$ annotationsMethodsClassReflectionExtension = $ this ->container ->getByType (AnnotationsMethodsClassReflectionExtension::class);
30
32
$ annotationsPropertiesClassReflectionExtension = $ this ->container ->getByType (AnnotationsPropertiesClassReflectionExtension::class);
31
33
34
+ $ mixinMethodsClassReflectionExtension = $ this ->container ->getByType (MixinMethodsClassReflectionExtension::class);
35
+ $ mixinPropertiesClassReflectionExtension = $ this ->container ->getByType (MixinPropertiesClassReflectionExtension::class);
36
+
32
37
$ this ->registry = new ClassReflectionExtensionRegistry (
33
38
$ 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 ]),
36
41
$ this ->container ->getServicesByTag (BrokerFactory::ALLOWED_SUB_TYPES_CLASS_REFLECTION_EXTENSION_TAG ),
37
42
$ this ->container ->getByType (RequireExtendsPropertiesClassReflectionExtension::class),
38
43
$ this ->container ->getByType (RequireExtendsMethodsClassReflectionExtension::class),
0 commit comments