From 2922663cac523b1a52ea88ce55ecc79850e02747 Mon Sep 17 00:00:00 2001 From: Ariell Cannal Date: Tue, 12 Mar 2024 17:19:51 -0300 Subject: [PATCH] Update GetMovementObjectTransferResponse.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Correção do tipo da variável na função setBankAccount() Definindo o tipo para o modelo GetBankAccountResponse, resolvemos o problema de mapeamento de classes na resposta da listagem de recebíveis transferidos. --- src/Models/GetMovementObjectTransferResponse.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Models/GetMovementObjectTransferResponse.php b/src/Models/GetMovementObjectTransferResponse.php index de4c111..2fb7361 100644 --- a/src/Models/GetMovementObjectTransferResponse.php +++ b/src/Models/GetMovementObjectTransferResponse.php @@ -277,7 +277,7 @@ public function getBankAccount(): ?string * * @maps bank_account */ - public function setBankAccount(?string $bankAccount): void + public function setBankAccount(?GetBankAccountResponse $bankAccount): void { $this->bankAccount['value'] = $bankAccount; }