Skip to content

Commit ccac888

Browse files
committed
fix "PseudoType" for ArrayKey
1 parent 7d75bd9 commit ccac888

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Types/ArrayKey.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function __construct()
3232

3333
public function underlyingType(): Type
3434
{
35-
return new String_();
35+
return new Compound([new String_(), new Integer()]);
3636
}
3737

3838
public function __toString(): string

0 commit comments

Comments
 (0)