Skip to content

Commit

Permalink
Remove unnecessary casting
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgemd24 committed Feb 19, 2024
1 parent 7f3571f commit 7b9944a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/API/Google/MerchantReport.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public function get_product_view_report( $next_page_token = null ): array {
continue;
}

$product_view_data['statuses'][ (int) $wc_product_id ] = [
$product_view_data['statuses'][ $wc_product_id ] = [
'product_id' => $wc_product_id,
'status' => $mc_product_status,
'expiration_date' => $this->convert_shopping_content_date( $product_view->getExpirationDate() ),
Expand Down

0 comments on commit 7b9944a

Please sign in to comment.