@@ -96,13 +96,13 @@ public static function dataIsSuperTypeOf(): array
9696 }
9797
9898 #[DataProvider('dataIsSuperTypeOf ' )]
99- public function testIsSuperTypeOf (StringType $ type , Type $ otherType , TrinaryLogic $ expectedResult ): void
99+ public function testIsSuperTypeOf (Type $ stringType , Type $ otherType , TrinaryLogic $ expectedResult ): void
100100 {
101- $ actualResult = $ type ->isSuperTypeOf ($ otherType );
101+ $ actualResult = $ stringType ->isSuperTypeOf ($ otherType );
102102 $ this ->assertSame (
103103 $ expectedResult ->describe (),
104104 $ actualResult ->describe (),
105- sprintf ('%s -> isSuperTypeOf(%s) ' , $ type ->describe (VerbosityLevel::precise ()), $ otherType ->describe (VerbosityLevel::precise ())),
105+ sprintf ('%s -> isSuperTypeOf(%s) ' , $ stringType ->describe (VerbosityLevel::precise ()), $ otherType ->describe (VerbosityLevel::precise ())),
106106 );
107107 }
108108
@@ -174,13 +174,13 @@ public static function dataAccepts(): iterable
174174 }
175175
176176 #[DataProvider('dataAccepts ' )]
177- public function testAccepts (StringType $ type , Type $ otherType , TrinaryLogic $ expectedResult ): void
177+ public function testAccepts (Type $ stringType , Type $ otherType , TrinaryLogic $ expectedResult ): void
178178 {
179- $ actualResult = $ type ->accepts ($ otherType , true )->result ;
179+ $ actualResult = $ stringType ->accepts ($ otherType , true )->result ;
180180 $ this ->assertSame (
181181 $ expectedResult ->describe (),
182182 $ actualResult ->describe (),
183- sprintf ('%s -> accepts(%s) ' , $ type ->describe (VerbosityLevel::precise ()), $ otherType ->describe (VerbosityLevel::precise ())),
183+ sprintf ('%s -> accepts(%s) ' , $ stringType ->describe (VerbosityLevel::precise ()), $ otherType ->describe (VerbosityLevel::precise ())),
184184 );
185185 }
186186
0 commit comments