diff --git a/src/WpThemeGetDynamicMethodReturnTypeExtension.php b/src/WpThemeGetDynamicMethodReturnTypeExtension.php index 807bf8c..f20c014 100644 --- a/src/WpThemeGetDynamicMethodReturnTypeExtension.php +++ b/src/WpThemeGetDynamicMethodReturnTypeExtension.php @@ -46,7 +46,7 @@ class WpThemeGetDynamicMethodReturnTypeExtension implements \PHPStan\Type\Dynami public function getClass(): string { - return '\WP_Theme'; + return \WP_Theme::class; } public function isMethodSupported(MethodReflection $methodReflection): bool