Skip to content

Commit

Permalink
SAST Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
s4ddly committed Jun 26, 2024
1 parent 9b715b2 commit 88d2b3c
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .dev-tools/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"ergebnis/composer-normalize": "^2.35",
"kubawerlos/composer-smaller-lock": "^1.0.1",
"magento/magento2ce": "^2.4",
"php-cs-fixer/shim": "^3.23",
"phpstan/phpstan": "^1.10.30",
"php-cs-fixer/shim": "3.23",
"phpstan/phpstan": "1.10.30",
"tpay-com/coding-standards": "^1.0.1",
"tpay-com/tpay-openapi-php": "^1.3",
"tpay-com/tpay-php": "^2.3.4",
Expand Down
28 changes: 14 additions & 14 deletions .dev-tools/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Model/ApiFacade/Transaction/TransactionApiFacade.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
class TransactionApiFacade
{
private const CHANNELS_CACHE_KEY = 'tpay_channels';
private const CACHE_LIFETIME = 86_400;
private const CACHE_LIFETIME = 86400;

/** @var TransactionOriginApi */
private $originApi;
Expand Down
1 change: 1 addition & 0 deletions Model/ApiFacade/Transaction/TransactionOriginApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class TransactionOriginApi extends PaymentBlik
* @param string $apiKey
* @param int $merchantId
* @param string $merchantSecret
* @param mixed $isProd
*/
public function __construct($apiPassword, $apiKey, $merchantId, $merchantSecret, $isProd = true)
{
Expand Down

0 comments on commit 88d2b3c

Please sign in to comment.