Skip to content

Commit ecb7855

Browse files
committed
test: remove redundant assertIsArray to fix PHPStan warning
1 parent 17a9c2b commit ecb7855

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

tests/system/API/TransformerTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -696,15 +696,13 @@ public function testTransformRelatedWorksWhenParentUsesTransformMany(): void
696696

697697
$result = $transformer->transformMany($parents);
698698

699-
$this->assertIsArray($result);
700699
$this->assertCount(2, $result);
701700

702701
$this->assertSame(1, $result[0]['parent_id']);
703702
$this->assertIsArray($result[0]['child']);
704703
$this->assertSame(99, $result[0]['child']['child_id']);
705704

706705
$this->assertSame(2, $result[1]['parent_id']);
707-
$this->assertIsArray($result[1]['child']);
708706
$this->assertSame(99, $result[1]['child']['child_id']);
709707
}
710708
}

0 commit comments

Comments
 (0)