Skip to content

Commit

Permalink
size e page fixo inter api
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardokum committed Jun 6, 2022
1 parent 040cd80 commit 94a4770
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions src/Api/Banco/Inter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 94a4770

Please sign in to comment.