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