We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0258e19 + a3cb2fd commit 7eb34bcCopy full SHA for 7eb34bc
Test/Unit/Gateway/Request/RefundDataBuilderTest.php
@@ -252,8 +252,7 @@ public function testBuild(
252
]);
253
}
254
255
- // phpcs:ignore
256
- $orderPaymentCollectionMock->method('getIterator')->willReturn(new \ArrayObject($objectArray));
+ $orderPaymentCollectionMock->method('getIterator')->willReturn(new \ArrayIterator($objectArray));
257
258
259
$this->orderPaymentCollectionFactoryMock->method('create')->willReturn($orderPaymentCollectionMock);
0 commit comments