Skip to content

Commit 907a4fd

Browse files
committed
fix code based type missmatch
1 parent e5456af commit 907a4fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/PHPStan/Type/IntersectionTypeTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class IntersectionTypeTest extends PHPStanTestCase
2929
{
3030

3131
/**
32-
* @return Iterator<int, array{IntersectionType, Type, TrinaryLogic}>
32+
* @return Iterator<int, array{Type, Type, TrinaryLogic}>
3333
*/
3434
public static function dataAccepts(): Iterator
3535
{
@@ -73,7 +73,7 @@ public static function dataAccepts(): Iterator
7373
}
7474

7575
#[DataProvider('dataAccepts')]
76-
public function testAccepts(IntersectionType $type, Type $otherType, TrinaryLogic $expectedResult): void
76+
public function testAccepts(Type $type, Type $otherType, TrinaryLogic $expectedResult): void
7777
{
7878
$actualResult = $type->accepts($otherType, true)->result;
7979
$this->assertSame(

0 commit comments

Comments
 (0)