diff --git a/app/Modules/CardTransaction/Repositories/CardTransactionRepository.php b/app/Modules/CardTransaction/Repositories/CardTransactionRepository.php index cdf301c..264506c 100644 --- a/app/Modules/CardTransaction/Repositories/CardTransactionRepository.php +++ b/app/Modules/CardTransaction/Repositories/CardTransactionRepository.php @@ -148,7 +148,6 @@ class CardTransactionRepository */ public function getExtraVariables(object $response): object { - info([$response]); if (count($response->transactions) < 1) { return emptyClass(basdakyGalyndy: 0, ahyrkyGalyndy: 0, girdeji: 0, cykdajy: 0); } diff --git a/app/Modules/CardTransaction/Types/CardTransactionResponse.php b/app/Modules/CardTransaction/Types/CardTransactionResponse.php index a5fef1e..c86fca1 100644 --- a/app/Modules/CardTransaction/Types/CardTransactionResponse.php +++ b/app/Modules/CardTransaction/Types/CardTransactionResponse.php @@ -52,6 +52,6 @@ class CardTransactionResponse public string $messageEn; - /** @var array */ + /** @var array */ public array $transactions; } diff --git a/app/Modules/CardTransaction/Types/CardTransactionResponseTransactionItem.php b/app/Modules/CardTransaction/Types/CardTransactionResponseTransactionItem.php new file mode 100644 index 0000000..cd72674 --- /dev/null +++ b/app/Modules/CardTransaction/Types/CardTransactionResponseTransactionItem.php @@ -0,0 +1,34 @@ +sendAsync($request)->wait(); - return $res->getBody(); + return $res->getBody(); // @phpstan-ignore-line } catch (Exception $e) { Log::error($e);