Skip to content

Commit ec05c6d

Browse files
committed
Update
1 parent 65206b6 commit ec05c6d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Fixer/TypedClassConstantFixer.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,6 @@ private static function getTypeOfExpression(Tokens $tokens, int $index): string
144144
*/
145145
private static function getTypeOfExpressionForTokenKinds(array $tokenKinds): string
146146
{
147-
if (self::isOfTypeBasedOnKinds($tokenKinds, [], [\T_ARRAY, CT::T_ARRAY_SQUARE_BRACE_OPEN])) {
148-
return 'array';
149-
}
150-
151147
if (self::isOfTypeBasedOnKinds($tokenKinds, self::INTEGER_KINDS, [])) {
152148
return 'int';
153149
}

0 commit comments

Comments
 (0)