diff --git a/upload/admin/controller/extension/payment/pagseguro.php b/upload/admin/controller/extension/payment/pagseguro.php index e9dc89d..9001d81 100644 --- a/upload/admin/controller/extension/payment/pagseguro.php +++ b/upload/admin/controller/extension/payment/pagseguro.php @@ -349,7 +349,7 @@ private function details($order_id, $order_info) $creditor_fees_data = [ 'installmentFeeAmount' => $this->currency->format($creditor_fees->getInstallmentFeeAmount(), 'BRL'), 'intermediationRateAmount' => $this->currency->format($creditor_fees->getIntermediationRateAmount(), 'BRL'), - 'intermediationFeeAmount' => $this->currency->format($creditor_fees->getIntermediationFeeAmount(), 'BRL'), + 'intermediationFeeAmount' => $this->currency->format($creditor_fees->getIntermediationFeeAmount(), 'BRL') ]; } @@ -484,7 +484,7 @@ private function validate() if (!filter_var($this->request->post['installment_total'], FILTER_VALIDATE_INT, [ 'options' => [ 'min_range' => 1, - 'max_range' => 18, + 'max_range' => 18 ] ])) { $this->error['installment_total'] = $this->language->get('error_installment_total'); @@ -559,7 +559,7 @@ private function getAllFields() 'methods_credit_minimum_amount' => ['required' => false], 'methods_debit_status' => ['required' => false], 'methods_debit_minimum_amount' => ['required' => false], - 'layout' => ['required' => true], + 'layout' => ['required' => true] ]; } diff --git a/upload/admin/model/extension/payment/pagseguro.php b/upload/admin/model/extension/payment/pagseguro.php index 0ca71d6..6c9baf8 100644 --- a/upload/admin/model/extension/payment/pagseguro.php +++ b/upload/admin/model/extension/payment/pagseguro.php @@ -55,7 +55,7 @@ public function getTransactionInfo($order_id, $columns = null, bool $includeRaw 'discount_amount', 'fee_amount', 'net_amount', - 'extra_amount', + 'extra_amount' ]; if ($columns === null && $includeRaw === true) { diff --git a/upload/catalog/controller/extension/payment/pagseguro_credit.php b/upload/catalog/controller/extension/payment/pagseguro_credit.php index ccd6bbd..9c7831f 100644 --- a/upload/catalog/controller/extension/payment/pagseguro_credit.php +++ b/upload/catalog/controller/extension/payment/pagseguro_credit.php @@ -223,7 +223,7 @@ public function transaction() $order_info['shipping_city'], $order_info['shipping_zone_code'], preg_replace('/\D/', '', $order_info['shipping_postcode']), - $order_info['shipping_company'], + $order_info['shipping_company'] ); $shipping_cost = $this->model_extension_payment_pagseguro->getShippingCost($order_totals); diff --git a/upload/catalog/model/extension/payment/pagseguro.php b/upload/catalog/model/extension/payment/pagseguro.php index 1986332..dff9e68 100644 --- a/upload/catalog/model/extension/payment/pagseguro.php +++ b/upload/catalog/model/extension/payment/pagseguro.php @@ -199,7 +199,7 @@ public function getTransactionInfo($order_id_or_code, $columns = null, bool $inc 'discount_amount', 'fee_amount', 'net_amount', - 'extra_amount', + 'extra_amount' ]; if ($columns === null && $includeRaw === true) {