Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,22 @@
class InstantPurchaseOption
{
/**
* @var PaymentTokenInterface
* @var PaymentTokenInterface|null
*/
private $paymentToken;

/**
* @var AddressIn
* @var Address|null
*/
private $shippingAddress;

/**
* @var Address
* @var Address|null
*/
private $billingAddress;

/**
* @var ShippingMethodInterface
* @var ShippingMethodInterface|null
*/
private $shippingMethod;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public function create(
/**
* Loads customer address model by identifier.
*
* @param $addressId
* @param int $addressId
* @return Address
*/
private function getAddress($addressId): Address
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function get($type) : DeferredShippingMethodChooserInterface
{
if (!isset($this->choosers[$type])) {
throw new \InvalidArgumentException(sprintf(
'Deferred shipping method chooser is not registered.',
'Deferred shipping method %s is not registered.',
$type
));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ private function findIntegrations(int $storeId): array
* </instant_purchase>
*
* @param VaultPaymentInterface $paymentMethod
* @param $storeId
* @param int|string|null|\Magento\Store\Model\Store $storeId
* @return bool
*/
private function isIntegrationAvailable(VaultPaymentInterface $paymentMethod, $storeId): bool
Expand Down