Skip to content

Commit c5ae947

Browse files
committed
Missed provider var renames
1 parent 2526e5c commit c5ae947

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

src/Analyser/NodeScopeResolver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ public function __construct(
256256
private readonly StubPhpDocProvider $stubPhpDocProvider,
257257
private readonly PhpVersion $phpVersion,
258258
private readonly SignatureMapProvider $signatureMapProvider,
259-
private readonly DeprecationProvider $deprecationResolver,
259+
private readonly DeprecationProvider $deprecationProvider,
260260
private readonly AttributeReflectionFactory $attributeReflectionFactory,
261261
private readonly PhpDocInheritanceResolver $phpDocInheritanceResolver,
262262
private readonly FileHelper $fileHelper,
@@ -2142,7 +2142,7 @@ private function createAstClassReflection(Node\Stmt\ClassLike $stmt, string $cla
21422142
$this->phpDocInheritanceResolver,
21432143
$this->phpVersion,
21442144
$this->signatureMapProvider,
2145-
$this->deprecationResolver,
2145+
$this->deprecationProvider,
21462146
$this->attributeReflectionFactory,
21472147
$this->classReflectionExtensionRegistryProvider->getRegistry()->getPropertiesClassReflectionExtensions(),
21482148
$this->classReflectionExtensionRegistryProvider->getRegistry()->getMethodsClassReflectionExtensions(),

src/Reflection/BetterReflection/BetterReflectionProvider.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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

src/Reflection/Php/PhpClassReflectionExtension.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public function __construct(
9292
private NodeScopeResolver $nodeScopeResolver,
9393
private PhpMethodReflectionFactory $methodReflectionFactory,
9494
private PhpDocInheritanceResolver $phpDocInheritanceResolver,
95-
private DeprecationProvider $deprecationResolver,
95+
private DeprecationProvider $deprecationProvider,
9696
private AnnotationsMethodsClassReflectionExtension $annotationsMethodsClassReflectionExtension,
9797
private AnnotationsPropertiesClassReflectionExtension $annotationsPropertiesClassReflectionExtension,
9898
private SignatureMapProvider $signatureMapProvider,
@@ -222,7 +222,7 @@ private function createProperty(
222222
}
223223
}
224224

225-
$deprecation = $this->deprecationResolver->getPropertyDeprecation($propertyReflection);
225+
$deprecation = $this->deprecationProvider->getPropertyDeprecation($propertyReflection);
226226
$deprecatedDescription = $deprecation === null ? null : $deprecation->getDescription();
227227
$isDeprecated = $deprecation !== null;
228228
$isInternal = false;
@@ -705,7 +705,7 @@ private function createMethod(
705705

706706
public function createUserlandMethodReflection(ClassReflection $fileDeclaringClass, ClassReflection $actualDeclaringClass, ReflectionMethod $methodReflection, ?string $declaringTraitName): PhpMethodReflection
707707
{
708-
$deprecation = $this->deprecationResolver->getMethodDeprecation($methodReflection);
708+
$deprecation = $this->deprecationProvider->getMethodDeprecation($methodReflection);
709709
$deprecatedDescription = $deprecation === null ? null : $deprecation->getDescription();
710710
$isDeprecated = $deprecation !== null;
711711

0 commit comments

Comments
 (0)