1313
1414namespace phpDocumentor \Reflection ;
1515
16+ use phpDocumentor \Reflection \PseudoTypes \Generic ;
1617use phpDocumentor \Reflection \PseudoTypes \List_ ;
1718use phpDocumentor \Reflection \PseudoTypes \NonEmptyList ;
1819use phpDocumentor \Reflection \Types \Array_ ;
1920use phpDocumentor \Reflection \Types \Compound ;
2021use phpDocumentor \Reflection \Types \Context ;
2122use phpDocumentor \Reflection \Types \Float_ ;
22- use phpDocumentor \Reflection \Types \GenericType ;
2323use phpDocumentor \Reflection \Types \Integer ;
2424use phpDocumentor \Reflection \Types \Nullable ;
2525use phpDocumentor \Reflection \Types \Object_ ;
@@ -36,7 +36,7 @@ class CollectionResolverTest extends TestCase
3636 /**
3737 * @uses \phpDocumentor\Reflection\Types\Context
3838 * @uses \phpDocumentor\Reflection\Types\Compound
39- * @uses \phpDocumentor\Reflection\Types\GenericType
39+ * @uses \phpDocumentor\Reflection\Types\Generic
4040 * @uses \phpDocumentor\Reflection\Types\String_
4141 *
4242 * @covers ::resolve
@@ -49,7 +49,7 @@ public function testResolvingCollection(): void
4949
5050 $ resolvedType = $ fixture ->resolve ('ArrayObject<string> ' , new Context ('' ));
5151
52- $ this ->assertInstanceOf (GenericType ::class, $ resolvedType );
52+ $ this ->assertInstanceOf (Generic ::class, $ resolvedType );
5353 $ this ->assertSame ('\\ArrayObject<string> ' , (string ) $ resolvedType );
5454 $ this ->assertSame ('\\ArrayObject ' , (string ) $ resolvedType ->getFqsen ());
5555 $ this ->assertEquals ([new String_ ()], $ resolvedType ->getTypes ());
@@ -58,7 +58,7 @@ public function testResolvingCollection(): void
5858 /**
5959 * @uses \phpDocumentor\Reflection\Types\Context
6060 * @uses \phpDocumentor\Reflection\Types\Compound
61- * @uses \phpDocumentor\Reflection\Types\GenericType
61+ * @uses \phpDocumentor\Reflection\Types\Generic
6262 * @uses \phpDocumentor\Reflection\Types\String_
6363 *
6464 * @covers ::__construct
@@ -71,7 +71,7 @@ public function testResolvingCollectionWithKeyType(): void
7171
7272 $ resolvedType = $ fixture ->resolve ('ArrayObject<string[],Iterator> ' , new Context ('' ));
7373
74- $ this ->assertInstanceOf (GenericType ::class, $ resolvedType );
74+ $ this ->assertInstanceOf (Generic ::class, $ resolvedType );
7575 $ this ->assertSame ('\\ArrayObject<string[], \\Iterator> ' , (string ) $ resolvedType );
7676 $ this ->assertSame ('\\ArrayObject ' , (string ) $ resolvedType ->getFqsen ());
7777
@@ -165,7 +165,7 @@ public function testResolvingArrayCollectionWithKeyAndWhitespace(): void
165165 /**
166166 * @uses \phpDocumentor\Reflection\Types\Context
167167 * @uses \phpDocumentor\Reflection\Types\Compound
168- * @uses \phpDocumentor\Reflection\Types\GenericType
168+ * @uses \phpDocumentor\Reflection\Types\Generic
169169 * @uses \phpDocumentor\Reflection\Types\String_
170170 *
171171 * @covers ::__construct
@@ -178,7 +178,7 @@ public function testResolvingCollectionOfCollection(): void
178178
179179 $ resolvedType = $ fixture ->resolve ('ArrayObject<string|integer|double,ArrayObject<DateTime>> ' , new Context ('' ));
180180
181- $ this ->assertInstanceOf (GenericType ::class, $ resolvedType );
181+ $ this ->assertInstanceOf (Generic ::class, $ resolvedType );
182182 $ this ->assertSame ('\\ArrayObject<string|int|float, \\ArrayObject< \\DateTime>> ' , (string ) $ resolvedType );
183183 $ this ->assertSame ('\\ArrayObject ' , (string ) $ resolvedType ->getFqsen ());
184184
@@ -188,7 +188,7 @@ public function testResolvingCollectionOfCollection(): void
188188 $ this ->assertEquals (new Compound ([new String_ (), new Integer (), new Float_ ()]), $ types [0 ]);
189189
190190 $ this ->assertArrayHasKey (0 , $ types );
191- $ this ->assertInstanceOf (GenericType ::class, $ types [1 ]);
191+ $ this ->assertInstanceOf (Generic ::class, $ types [1 ]);
192192 $ this ->assertSame ('\\ArrayObject ' , (string ) $ types [1 ]->getFqsen ());
193193
194194 $ nestedGenericTypes = $ types [1 ]->getTypes ();
0 commit comments