Skip to content

Commit

Permalink
Fix phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
rawdreeg authored Oct 4, 2023
1 parent 02aecae commit cd0f039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion facebook-commerce-events-tracker.php
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ public function inject_add_to_cart_event( $cart_item_key, $product_id, $quantity

$cart = WC()->cart;
// Check if we're dealing with cloned cart
if (!isset($cart->cart_contents[ $cart_item_key ])) {
if ( ! isset( $cart->cart_contents[ $cart_item_key ] ) ) {
return;
}

Expand Down

0 comments on commit cd0f039

Please sign in to comment.