@@ -137,7 +137,7 @@ public function testResolvingTypedArrays()
137137
138138 $ this ->assertInstanceOf ('phpDocumentor\Reflection\Types\Array_ ' , $ resolvedType );
139139 $ this ->assertSame ('string[] ' , (string )$ resolvedType );
140- $ this ->assertInstanceOf ('phpDocumentor\Reflection\Types\Mixed ' , $ resolvedType ->getKeyType ());
140+ $ this ->assertInstanceOf ('phpDocumentor\Reflection\Types\Compound ' , $ resolvedType ->getKeyType ());
141141 $ this ->assertInstanceOf ('phpDocumentor\Reflection\Types\String_ ' , $ resolvedType ->getValueType ());
142142 }
143143
@@ -163,11 +163,11 @@ public function testResolvingNestedTypedArrays()
163163 $ this ->assertInstanceOf ('phpDocumentor\Reflection\Types\Array_ ' , $ resolvedType );
164164
165165 $ this ->assertSame ('string[][] ' , (string )$ resolvedType );
166- $ this ->assertInstanceOf ('phpDocumentor\Reflection\Types\Mixed ' , $ resolvedType ->getKeyType ());
166+ $ this ->assertInstanceOf ('phpDocumentor\Reflection\Types\Compound ' , $ resolvedType ->getKeyType ());
167167 $ this ->assertInstanceOf ('phpDocumentor\Reflection\Types\Array_ ' , $ childValueType );
168168
169169 $ this ->assertSame ('string[] ' , (string )$ childValueType );
170- $ this ->assertInstanceOf ('phpDocumentor\Reflection\Types\Mixed ' , $ childValueType ->getKeyType ());
170+ $ this ->assertInstanceOf ('phpDocumentor\Reflection\Types\Compound ' , $ childValueType ->getKeyType ());
171171 $ this ->assertInstanceOf ('phpDocumentor\Reflection\Types\String_ ' , $ childValueType ->getValueType ());
172172 }
173173
0 commit comments