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 31c7e44 commit 8773c4d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Observer/TweakwiseCheckout.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public function __construct(
/**
* @param Observer $observer
*
* @return void
* @throws \Magento\Framework\Exception\NoSuchEntityException
*/
public function execute(Observer $observer)
Expand All @@ -51,6 +52,8 @@ public function execute(Observer $observer)

$this->sendCheckout($items);
}

return;
}

/**
Expand All @@ -77,7 +80,9 @@ private function sendCheckout($items)
try {
$this->client->request($tweakwiseRequest);
} catch (\Exception $e) {
// Do nothing @phpcs:ignore
// Do nothing so that the checkout process can continue
return;
}
return;
}
}

0 comments on commit 8773c4d

Please sign in to comment.