@@ -86,7 +86,7 @@ public function __construct(
8686 private Reflector $ reflector ,
8787 private FileTypeMapper $ fileTypeMapper ,
8888 private PhpDocInheritanceResolver $ phpDocInheritanceResolver ,
89- private DeprecationProvider $ deprecationResolver ,
89+ private DeprecationProvider $ deprecationProvider ,
9090 private PhpVersion $ phpVersion ,
9191 private NativeFunctionReflectionProvider $ nativeFunctionReflectionProvider ,
9292 private StubPhpDocProvider $ stubPhpDocProvider ,
@@ -150,7 +150,7 @@ public function getClass(string $className): ClassReflection
150150 $ this ->phpDocInheritanceResolver ,
151151 $ this ->phpVersion ,
152152 $ this ->signatureMapProvider ,
153- $ this ->deprecationResolver ,
153+ $ this ->deprecationProvider ,
154154 $ this ->attributeReflectionFactory ,
155155 $ this ->classReflectionExtensionRegistryProvider ->getRegistry ()->getPropertiesClassReflectionExtensions (),
156156 $ this ->classReflectionExtensionRegistryProvider ->getRegistry ()->getMethodsClassReflectionExtensions (),
@@ -246,7 +246,7 @@ public function getAnonymousClassReflection(Node\Stmt\Class_ $classNode, Scope $
246246 $ this ->phpDocInheritanceResolver ,
247247 $ this ->phpVersion ,
248248 $ this ->signatureMapProvider ,
249- $ this ->deprecationResolver ,
249+ $ this ->deprecationProvider ,
250250 $ this ->attributeReflectionFactory ,
251251 $ this ->classReflectionExtensionRegistryProvider ->getRegistry ()->getPropertiesClassReflectionExtensions (),
252252 $ this ->classReflectionExtensionRegistryProvider ->getRegistry ()->getMethodsClassReflectionExtensions (),
@@ -310,7 +310,7 @@ private function getCustomFunction(string $functionName): PhpFunctionReflection
310310 $ phpDocReturnTag = null ;
311311 $ phpDocThrowsTag = null ;
312312
313- $ deprecation = $ this ->deprecationResolver ->getFunctionDeprecation ($ reflectionFunction );
313+ $ deprecation = $ this ->deprecationProvider ->getFunctionDeprecation ($ reflectionFunction );
314314 $ deprecationDescription = $ deprecation === null ? null : $ deprecation ->getDescription ();
315315 $ isDeprecated = $ deprecation !== null ;
316316
@@ -416,7 +416,7 @@ public function getConstant(Node\Name $nameNode, ?NamespaceAnswerer $namespaceAn
416416 $ constantValueType = $ this ->initializerExprTypeResolver ->getType ($ constantReflection ->getValueExpression (), InitializerExprContext::fromGlobalConstant ($ constantReflection ));
417417 $ docComment = $ constantReflection ->getDocComment ();
418418
419- $ deprecation = $ this ->deprecationResolver ->getConstantDeprecation ($ constantReflection );
419+ $ deprecation = $ this ->deprecationProvider ->getConstantDeprecation ($ constantReflection );
420420 $ isDeprecated = $ deprecation !== null ;
421421 $ deprecatedDescription = $ deprecation === null ? null : $ deprecation ->getDescription ();
422422
0 commit comments