Skip to content

Commit 7cacce2

Browse files
Ievgen ShakhsuvarovSerhiy Shkolyarenko
authored andcommitted
MAGETWO-35155: Error appears on Shipping Method page during MultiAdress Checkout if countries are not allowed for shipping
(cherry picked from commit 6cc59f5)
1 parent 84abfcb commit 7cacce2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/GiftMessage/Model/Type/Plugin/Multishipping.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ public function __construct(
3131

3232
/**
3333
* @param \Magento\Multishipping\Model\Checkout\Type\Multishipping $subject
34-
* @param array $methods
34+
* @param array|null $methods
3535
* @return $this
3636
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
3737
*/
3838
public function beforeSetShippingMethods(
3939
\Magento\Multishipping\Model\Checkout\Type\Multishipping $subject,
40-
array $methods
40+
$methods
4141
) {
4242
$giftMessages = $this->request->getParam('giftmessage');
4343
$quote = $subject->getQuote();

0 commit comments

Comments
 (0)