Skip to content

Commit

Permalink
Style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ah-net committed Dec 10, 2024
1 parent 8773c4d commit b876331
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Model/Client/Request/AnalyticsRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ public function getApiurl()
}

/**
* @return string
* @return void
*/
public function setProfileKey(string $profileKey)
{
$this->setParameter('ProfileKey', $profileKey);
}

/**
* @return string
* @return void
*/
public function setPath($path)
{
Expand Down
6 changes: 2 additions & 4 deletions Observer/TweakwiseCheckout.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ public function execute(Observer $observer)

$this->sendCheckout($items);
}

return;
}

/**
Expand All @@ -77,12 +75,12 @@ private function sendCheckout($items)

$tweakwiseRequest->setParameterArray('ProductKeys', $productTwId);

// @phpcs:disable
try {
$this->client->request($tweakwiseRequest);
} catch (\Exception $e) {
// Do nothing so that the checkout process can continue
return;
}
return;
// @phpcs:enable
}
}

0 comments on commit b876331

Please sign in to comment.