Skip to content

Commit

Permalink
Fix PHPCS
Browse files Browse the repository at this point in the history
  • Loading branch information
tomalec committed Mar 8, 2024
1 parent ba8e9e4 commit 03bb117
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/class-wc-abstract-google-analytics-js.php
Original file line number Diff line number Diff line change
Expand Up @@ -264,12 +264,12 @@ public function get_formatted_order( $order ): array {
}

return array(
'totals' => array(
'totals' => array(
'currency_code' => $order->get_currency(),
'total_price' => $this->get_formatted_price( $order->get_total() ),
'currency_minor_unit' => wc_get_price_decimals(),
),
'items' => array_map(
'items' => array_map(
function ( $item ) {
return array_merge(
$this->get_formatted_product( $item->get_product() ),
Expand Down

0 comments on commit 03bb117

Please sign in to comment.