Skip to content

Commit 2fb0772

Browse files
authored
Merge pull request #22 from experius/bugfix/NUA-154
[BUGFIX][NUA-154]update to use explicit nullable type
2 parents 3e319a6 + 3ede523 commit 2fb0772

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Plugin/Magento/Checkout/Model/PaymentInformationManagement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function beforeSavePaymentInformation(
4141
\Magento\Checkout\Model\PaymentInformationManagement $subject,
4242
$cartId,
4343
PaymentInterface $paymentMethod,
44-
AddressInterface $address = null
44+
?AddressInterface $address = null
4545
)
4646
{
4747
if ($address) {

0 commit comments

Comments
 (0)