@@ -71,13 +71,13 @@ |
||
| 71 | 71 | */ |
| 72 | 72 | protected function setCartItems($items) |
| 73 | 73 | { |
| 74 | - return (new Collection($items))->map(function ($item, $num) { |
|
| 74 | + return (new Collection($items))->map(function($item, $num) { |
|
| 75 | 75 | return [ |
| 76 | 76 | 'L_PAYMENTREQUEST_0_NAME'.$num => $item['name'], |
| 77 | 77 | 'L_PAYMENTREQUEST_0_AMT'.$num => $item['price'], |
| 78 | 78 | 'L_PAYMENTREQUEST_0_QTY'.$num => isset($item['qty']) ? $item['qty'] : 1, |
| 79 | 79 | ]; |
| 80 | - })->flatMap(function ($value) { |
|
| 80 | + })->flatMap(function($value) { |
|
| 81 | 81 | return $value; |
| 82 | 82 | }); |
| 83 | 83 | } |