Skip to content

Commit

Permalink
fix php lint
Browse files Browse the repository at this point in the history
  • Loading branch information
andykim committed Oct 5, 2023
1 parent 2c4616b commit 6769767
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/gateways/xendit/lib/PaymentLink.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ protected function invoiceUrl($invoiceId, string $systemurl): string
*/
protected function isRefererUrlFromCart(): bool
{
if(!$this->isViewInvoicePage() || empty($_SERVER) || empty($_SERVER["HTTP_REFERER"])){
if (!$this->isViewInvoicePage() || empty($_SERVER) || empty($_SERVER["HTTP_REFERER"])) {
return false;
}

Expand All @@ -75,7 +75,7 @@ protected function isRefererUrlFromCart(): bool
*/
protected function isViewInvoicePage(): bool
{
if(empty($_SERVER) || empty($_SERVER["SCRIPT_NAME"])){
if (empty($_SERVER) || empty($_SERVER["SCRIPT_NAME"])) {
return false;
}

Expand Down

0 comments on commit 6769767

Please sign in to comment.