Skip to content

Commit

Permalink
Merge pull request #26 from payrexx/bugfix/module-validator
Browse files Browse the repository at this point in the history
bugfix/module-validator: fixed validation issues
  • Loading branch information
vinothss4u authored Jun 10, 2024
2 parents 5d574b2 + 8475154 commit 0b53207
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
14 changes: 7 additions & 7 deletions payrexx/payrexx.php
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,8 @@ public function hookActionFrontControllerSetMedia(array $params)
'payrexx-payment-method-apple-pay',
'/modules/' . $this->name . '/views/js/applepay.js',
[
'priority' => 996,
'position' => 'bottom',
'priority' => 996,
'position' => 'bottom',
]
);
}
Expand All @@ -308,17 +308,17 @@ public function hookActionFrontControllerSetMedia(array $params)
'payrexx-payment-method-google-pay-lib',
'https://pay.google.com/gp/p/js/pay.js',
[
'priority' => 996,
'server' => 'remote',
'position' => 'bottom',
'priority' => 996,
'server' => 'remote',
'position' => 'bottom',
]
);
$this->context->controller->registerJavascript(
'payrexx-payment-method-google-pay',
'/modules/' . $this->name . '/views/js/googlepay.js',
[
'priority' => 997,
'position' => 'bottom',
'priority' => 997,
'position' => 'bottom',
]
);
}
Expand Down
5 changes: 3 additions & 2 deletions payrexx/src/Service/PayrexxApiService.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function __construct()
/**
* @param int $gatewayId
*
* @return \Payrexx\Models\Response\Gateway|null
* @return Gateway|null
*/
public function getPayrexxGateway($gatewayId): ?Gateway
{
Expand Down Expand Up @@ -75,7 +75,8 @@ public function getTransactionByGateway($payrexxGateway): ?Transaction

/**
* @param int $transactionId
* @return \Payrexx\Models\Response\Transaction|null
*
* @return Transaction|null
*/
public function getPayrexxTransaction($transactionId): ?Transaction
{
Expand Down

0 comments on commit 0b53207

Please sign in to comment.