Just remove the to_array part

This commit is contained in:
Emili Castells Guasch 2023-11-27 11:01:47 +01:00
parent c5a90d8ca3
commit 87dd2c1bfc

View file

@ -228,9 +228,6 @@ class Order {
if ( $this->application_context() ) {
$order['application_context'] = $this->application_context()->to_array();
}
if ( $this->payment_source() ) {
$order['payment_source'] = $this->payment_source();
}
return $order;
}