Skip to content

Commit 6adcf67

Browse files
It *can* return null, too.
1 parent 4b6dbd3 commit 6adcf67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/base/Gateway.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -463,9 +463,9 @@ abstract protected function createGateway(): AbstractGateway;
463463
*
464464
* @param Order $order The order.
465465
*
466-
* @return ItemBag
466+
* @return ItemBag|null
467467
*/
468-
protected function createItemBagForOrder(Order $order): ItemBag
468+
protected function createItemBagForOrder(Order $order)
469469
{
470470
if (!$this->sendCartInfo) {
471471
return null;

0 commit comments

Comments
 (0)