From 94a477057afcacdc0ebd31c6a55e8dded764ed8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduardo=20Gusm=C3=A3o?= Date: Mon, 6 Jun 2022 10:01:24 -0300 Subject: [PATCH] size e page fixo inter api --- src/Api/Banco/Inter.php | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/src/Api/Banco/Inter.php b/src/Api/Banco/Inter.php index 9c32fcb7..3833ecfb 100644 --- a/src/Api/Banco/Inter.php +++ b/src/Api/Banco/Inter.php @@ -77,17 +77,11 @@ public function retrieveList($inputedParams = []) 'ordenarPor' => array_key_exists('ordenarPor', $inputedParams) ? $inputedParams['ordenarPor'] - : 'NOSSONUMERO', - 'page' => - array_key_exists('page', $inputedParams) - ? $inputedParams['page'] - : 0, - 'size' => - array_key_exists('size', $inputedParams) - ? (($inputedParams['size'] > 5 && $inputedParams['size'] < 20) ? $inputedParams['size'] : 20) - : 20, + : 'NOSSONUMERO' ]; + $params['size'] = 50; + $params['page'] = 0; $aRetorno = []; do { $retorno = $this->get(