Skip to content

Commit 2446ac2

Browse files
authored
Update MethodList.php
PhpDoc @param $quote can accept null
1 parent 2ffcb6f commit 2446ac2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Payment/Model/MethodList.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function __construct(
6262
/**
6363
* Returns all available payment methods for the given quote.
6464
*
65-
* @param \Magento\Quote\Api\Data\CartInterface $quote
65+
* @param \Magento\Quote\Api\Data\CartInterface $quote|null
6666
* @return \Magento\Payment\Model\MethodInterface[]
6767
*/
6868
public function getAvailableMethods(\Magento\Quote\Api\Data\CartInterface $quote = null)

0 commit comments

Comments
 (0)