Skip to content

Commit 6935ac4

Browse files
committed
Fix naming inconsistency typo
1 parent e1301ac commit 6935ac4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Reflection/ClassReflection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1242,7 +1242,7 @@ public function isDeprecated(): bool
12421242
*/
12431243
private function resolveDeprecation(): void
12441244
{
1245-
$deprecation = $this->deprecationProvider->isClassDeprecated($this->reflection);
1245+
$deprecation = $this->deprecationProvider->getClassDeprecation($this->reflection);
12461246
if ($deprecation !== null) {
12471247
$this->isDeprecated = true;
12481248
$this->deprecatedDescription = $deprecation->getDescription();

src/Reflection/Deprecation/DeprecationProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function getClassConstantDeprecation(ReflectionClassConstant $reflectionC
8686
return null;
8787
}
8888

89-
public function isClassDeprecated(ReflectionClass|ReflectionEnum $reflection): ?Deprecation
89+
public function getClassDeprecation(ReflectionClass|ReflectionEnum $reflection): ?Deprecation
9090
{
9191
foreach ($this->classDeprecationExtensions as $extension) {
9292
$deprecation = $extension->getClassDeprecation($reflection);

0 commit comments

Comments
 (0)