Skip to content

Commit

Permalink
fixed phpcs warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
0xBeycan committed Jul 21, 2024
1 parent 25f7fd0 commit 9c41c7c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion app/BuyCredGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,10 @@ public function checkout_page_body(): void
*/
public function ajax_buy(): void
{
$this->send_json(esc_html__('This gateway does not support AJAX payments.', 'cryptopay-integration-for-mycred'));
$this->send_json(esc_html__(
'This gateway does not support AJAX payments.',
'cryptopay-integration-for-mycred'
));
}

/**
Expand Down
5 changes: 4 additions & 1 deletion app/Loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@ public function paymentFinished(object $data): void
} else {
$gateway->log_call($order->getId(), [
// translators: %s: transaction hash
sprintf(__('Payment not completed. Transaction hash: %s', 'cryptopay-integration-for-mycred'), $data->getHash())
sprintf(__(
'Payment not completed. Transaction hash: %s',
'cryptopay-integration-for-mycred'
), $data->getHash())
]);
}
}
Expand Down

0 comments on commit 9c41c7c

Please sign in to comment.