Skip to content

Commit ea10cb8

Browse files
Merge pull request #62 from PaystackHQ/fix/adobe-commerce-php84-nullable
Fix/adobe commerce php84 nullable
2 parents 9b26f96 + b6be9ac commit ea10cb8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Model/Payment/Paystack.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class Paystack extends \Magento\Payment\Model\Method\AbstractMethod
3535
protected $_isOffline = true;
3636

3737
public function isAvailable(
38-
\Magento\Quote\Api\Data\CartInterface $quote = null
38+
?\Magento\Quote\Api\Data\CartInterface $quote = null
3939
) {
4040
return parent::isAvailable($quote);
4141
}

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "pstk/paystack-magento2-module",
33
"description": "Paystack Magento2 Module using \\Magento\\Payment\\Model\\Method\\AbstractMethod",
4-
"version": "3.0.0",
4+
"version": "3.0.1",
55
"require": {},
66
"type": "magento2-module",
77
"license": [

0 commit comments

Comments
 (0)