File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -842,13 +842,11 @@ public function testOffsetAccess(): void
842842 public function testUnresolvableParameter (): void
843843 {
844844 $ errors = $ this ->runAnalyse (__DIR__ . '/data/unresolvable-parameter.php ' );
845- $ this ->assertCount (3 , $ errors );
846- $ this ->assertSame ('Parameter #2 $array of function array_map expects array, list<string>|false given . ' , $ errors [0 ]->getMessage ());
847- $ this ->assertSame (18 , $ errors [0 ]->getLine ());
848- $ this ->assertSame ('Method UnresolvableParameter\Collection::pipeInto() has parameter $class with no type specified . ' , $ errors [1 ]->getMessage ());
845+ $ this ->assertCount (2 , $ errors );
846+ $ this ->assertSame ('Method UnresolvableParameter\Collection::pipeInto() has parameter $class with no type specified . ' , $ errors [0 ]->getMessage ());
847+ $ this ->assertSame (30 , $ errors [0 ]->getLine ());
848+ $ this ->assertSame ('PHPDoc tag @param for parameter $class contains unresolvable type. ' , $ errors [1 ]->getMessage ());
849849 $ this ->assertSame (30 , $ errors [1 ]->getLine ());
850- $ this ->assertSame ('PHPDoc tag @param for parameter $class contains unresolvable type. ' , $ errors [2 ]->getMessage ());
851- $ this ->assertSame (30 , $ errors [2 ]->getLine ());
852850 }
853851
854852 public function testBug7248 (): void
You can’t perform that action at this time.
0 commit comments