Skip to content

Commit

Permalink
Fixed some PHPDocs and outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCartpenter committed May 2, 2024
1 parent 2267160 commit 7423172
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
4 changes: 0 additions & 4 deletions upload/catalog/model/extension/payment/alipay.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,6 @@ public function pageExecute($request, string $httpmethod = 'POST') {
* @return bool
*/
private function checkEmpty(string $value): bool {
if (!isset($value)) {
return true;
}

if ($value === null) {
return true;
}
Expand Down
4 changes: 2 additions & 2 deletions upload/catalog/model/extension/payment/globalpay_remote.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ public function checkEnrollment(string $account, float $amount, string $currency
* @param string $card_name
* @param string $pares
*
* @return SimpleXMElement
* @return mixed
*/
public function enrollmentSignature(string $account, float $amount, string $currency, string $order_ref, int $card_number, int $card_expire, string $card_type, string $card_name, string $pares): SimpleXMElement {
public function enrollmentSignature(string $account, float $amount, string $currency, string $order_ref, int $card_number, int $card_expire, string $card_type, string $card_name, string $pares) {
// Orders
$this->load->model('checkout/order');

Expand Down
2 changes: 1 addition & 1 deletion upload/catalog/model/extension/payment/squareup.php
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ public function updateSubscriptionTrial(int $subscription_id): bool {
*
* @param int $subscription_id
*
* @return void
* @return int
*/
public function suspendSubscriptionProfile(int $subscription_id): int {
$this->db->query("UPDATE `" . DB_PREFIX . "squareup_subscription` SET `status` = '" . self::RECURRING_SUSPENDED . "' WHERE `subscription_id` = '" . (int)$subscription_id . "'");
Expand Down

0 comments on commit 7423172

Please sign in to comment.