Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ging-dev committed Jul 5, 2024
1 parent 367c4a7 commit a0c7955
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Api/AuthenticatedApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,14 @@ public function accounts(): IterableList
}

/**
* @param 'Credit'|'Debit'|'' $tranType
* @return IterableList<Transaction>
*/
public function historyTransactions(
string $accountNumber,
\DateTimeInterface $startDate,
\DateTimeInterface $startDate = new \DateTime(),
\DateTimeInterface $endDate = new \DateTime(),
string $tranType = 'Credit',
int $pageNumber = 0,
int $maxResult = 999999999,
): IterableList {
Expand Down
1 change: 1 addition & 0 deletions src/Entity/Account.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public function __construct(
* @internal
*/
public function __construct(
public string $title,
public string $number,
public string $currencyCode,
public AccountState $accountState,
Expand Down

0 comments on commit a0c7955

Please sign in to comment.