We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9000720 commit b718b73Copy full SHA for b718b73
src/LaravelPos.php
@@ -92,22 +92,23 @@ public function account(array $account)
92
* Prepare Order
93
*
94
* @param array $order
95
+ * @param array [] $card
96
* @return $this
97
*/
- public function prepare(array $order)
98
+ public function prepare(array $order, array $card = [])
99
{
- $this->pos->prepare($order);
100
+ $this->pos->prepare($order, $card);
101
102
return $this;
103
}
104
105
/**
106
* Payment
107
- * @param array $card
108
109
110
- public function payment(array $card)
111
+ public function payment(array $card = [])
112
113
$this->pos->payment($card);
114
0 commit comments