@@ -137,7 +137,7 @@ public function testResolvingTypedArrays()
137
137
138
138
$ this ->assertInstanceOf ('phpDocumentor\Reflection\Types\Array_ ' , $ resolvedType );
139
139
$ this ->assertSame ('string[] ' , (string )$ resolvedType );
140
- $ this ->assertInstanceOf ('phpDocumentor\Reflection\Types\Mixed ' , $ resolvedType ->getKeyType ());
140
+ $ this ->assertInstanceOf ('phpDocumentor\Reflection\Types\Compound ' , $ resolvedType ->getKeyType ());
141
141
$ this ->assertInstanceOf ('phpDocumentor\Reflection\Types\String_ ' , $ resolvedType ->getValueType ());
142
142
}
143
143
@@ -163,11 +163,11 @@ public function testResolvingNestedTypedArrays()
163
163
$ this ->assertInstanceOf ('phpDocumentor\Reflection\Types\Array_ ' , $ resolvedType );
164
164
165
165
$ this ->assertSame ('string[][] ' , (string )$ resolvedType );
166
- $ this ->assertInstanceOf ('phpDocumentor\Reflection\Types\Mixed ' , $ resolvedType ->getKeyType ());
166
+ $ this ->assertInstanceOf ('phpDocumentor\Reflection\Types\Compound ' , $ resolvedType ->getKeyType ());
167
167
$ this ->assertInstanceOf ('phpDocumentor\Reflection\Types\Array_ ' , $ childValueType );
168
168
169
169
$ this ->assertSame ('string[] ' , (string )$ childValueType );
170
- $ this ->assertInstanceOf ('phpDocumentor\Reflection\Types\Mixed ' , $ childValueType ->getKeyType ());
170
+ $ this ->assertInstanceOf ('phpDocumentor\Reflection\Types\Compound ' , $ childValueType ->getKeyType ());
171
171
$ this ->assertInstanceOf ('phpDocumentor\Reflection\Types\String_ ' , $ childValueType ->getValueType ());
172
172
}
173
173
0 commit comments