We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2944cd7 commit 90d6e82Copy full SHA for 90d6e82
src/Rules/Api/ApiInstanceofTypeRule.php
@@ -67,7 +67,7 @@ class ApiInstanceofTypeRule implements Rule
67
IterableType::class => 'Type::isIterable()',
68
ObjectWithoutClassType::class => 'Type::isObject()',
69
ObjectType::class => 'Type::isObject() or Type::getObjectClassNames()',
70
- GenericClassStringType::class => 'Type::getClassStringObjectType()',
+ GenericClassStringType::class => 'Type::isClassStringType() and Type::getClassStringObjectType()',
71
GenericObjectType::class => null,
72
73
// accessory types
0 commit comments