We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
count
1 parent 7682fa0 commit a30501fCopy full SHA for a30501f
dev/tests/functional/tests/app/Magento/Multishipping/Test/TestStep/FillShippingInformationStep.php
@@ -58,7 +58,7 @@ public function __construct(
58
public function run()
59
{
60
$shippingMethods = [];
61
- for ($i = 0, $count = $this->customer->getAddress(); $i < $count; $i++) {
+ for ($i = 0, $count = count($this->customer->getAddress()); $i < $count; $i++) {
62
$shippingMethods[] = $this->shippingMethod;
63
}
64
$this->shippingInformation->getShippingBlock()->selectShippingMethod($shippingMethods);
0 commit comments