Skip to content

Commit 650bfef

Browse files
committed
ApiInstanceofTypeRule - better tip
1 parent fec3f0c commit 650bfef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Rules/Api/ApiInstanceofTypeRule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class ApiInstanceofTypeRule implements Rule
5151
TypeWithClassName::class => 'Type::getObjectClassNames()',
5252
EnumCaseObjectType::class => 'Type::getEnumCases()',
5353
ConstantArrayType::class => 'Type::getConstantArrays()',
54-
ArrayType::class => 'Type::getArrays()',
54+
ArrayType::class => 'Type::isArray() or Type::getArrays()',
5555
ConstantStringType::class => 'Type::getConstantStrings()',
5656
StringType::class => 'Type::isString()',
5757
ClassStringType::class => 'Type::isClassStringType()',

0 commit comments

Comments
 (0)