Skip to content

Commit a545dd7

Browse files
committed
Fixes for linter
1 parent ef900fb commit a545dd7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Client.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ public function record_event($params)
450450
*/
451451
public function create_or_update_cart($params)
452452
{
453-
if(strstr($this->api_end_point, '/v3') === false) {
453+
if (strstr($this->api_end_point, '/v3') === false) {
454454
throw new Exception(__CLASS__ . '::' . __METHOD__ . ' only supports the APIv3 endpoint.');
455455
}
456456
return $this->make_request("$this->account_id/shopper_activity/cart", $params, self::POST);
@@ -467,7 +467,7 @@ public function create_or_update_cart($params)
467467
*/
468468
public function create_or_update_order($params)
469469
{
470-
if(strstr($this->api_end_point, '/v3') === false) {
470+
if (strstr($this->api_end_point, '/v3') === false) {
471471
throw new Exception(__CLASS__ . '::' . __METHOD__ . ' only supports the APIv3 endpoint.');
472472
}
473473
return $this->make_request("$this->account_id/shopper_activity/order", $params, self::POST);
@@ -484,7 +484,7 @@ public function create_or_update_order($params)
484484
*/
485485
public function create_or_update_product($params)
486486
{
487-
if(strstr($this->api_end_point, '/v3') === false) {
487+
if (strstr($this->api_end_point, '/v3') === false) {
488488
throw new Exception(__CLASS__ . '::' . __METHOD__ . ' only supports the APIv3 endpoint.');
489489
}
490490
return $this->make_request("$this->account_id/shopper_activity/product", $params, self::POST);

0 commit comments

Comments
 (0)