File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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 ();
Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments