Skip to content

Commit 3ede523

Browse files
committed
[BUGFIX][NUA-154]update to use explicit nullable type
1 parent 3e319a6 commit 3ede523

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)