Skip to content

Commit 4a61ed6

Browse files
🔃 [EngCom] Public Pull Requests - 2.3-develop
Accepted Public Pull Requests: - #15370: Fixed typo in MagentoUi abstract.js (by @VitaliyBoyko) - #15257: Fixes in InstantPurchase (by @mhauri)
2 parents 4037c51 + 0ac5735 commit 4a61ed6

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

app/code/Magento/InstantPurchase/Model/InstantPurchaseOption.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,22 @@
2020
class InstantPurchaseOption
2121
{
2222
/**
23-
* @var PaymentTokenInterface
23+
* @var PaymentTokenInterface|null
2424
*/
2525
private $paymentToken;
2626

2727
/**
28-
* @var AddressIn
28+
* @var Address|null
2929
*/
3030
private $shippingAddress;
3131

3232
/**
33-
* @var Address
33+
* @var Address|null
3434
*/
3535
private $billingAddress;
3636

3737
/**
38-
* @var ShippingMethodInterface
38+
* @var ShippingMethodInterface|null
3939
*/
4040
private $shippingMethod;
4141

app/code/Magento/InstantPurchase/Model/InstantPurchaseOptionLoadingFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function create(
100100
/**
101101
* Loads customer address model by identifier.
102102
*
103-
* @param $addressId
103+
* @param int $addressId
104104
* @return Address
105105
*/
106106
private function getAddress($addressId): Address

app/code/Magento/InstantPurchase/Model/ShippingMethodChoose/DeferredShippingMethodChooserPool.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function get($type) : DeferredShippingMethodChooserInterface
3939
{
4040
if (!isset($this->choosers[$type])) {
4141
throw new \InvalidArgumentException(sprintf(
42-
'Deferred shipping method chooser is not registered.',
42+
'Deferred shipping method %s is not registered.',
4343
$type
4444
));
4545
}

app/code/Magento/InstantPurchase/PaymentMethodIntegration/IntegrationsManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ private function findIntegrations(int $storeId): array
146146
* </instant_purchase>
147147
*
148148
* @param VaultPaymentInterface $paymentMethod
149-
* @param $storeId
149+
* @param int|string|null|\Magento\Store\Model\Store $storeId
150150
* @return bool
151151
*/
152152
private function isIntegrationAvailable(VaultPaymentInterface $paymentMethod, $storeId): bool

app/code/Magento/Ui/view/base/web/js/form/element/abstract.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ define([
220220
},
221221

222222
/**
223-
* Sets 'value' as 'hidden' propertie's value, triggers 'toggle' event,
223+
* Sets 'value' as 'hidden' property's value, triggers 'toggle' event,
224224
* sets instance's hidden identifier in params storage based on
225225
* 'value'.
226226
*

0 commit comments

Comments
 (0)