Expand code.

This commit is contained in:
James Cole
2022-06-25 14:23:52 +02:00
parent e0c9d3627e
commit f52144d8d9
19 changed files with 904 additions and 20 deletions

View File

@@ -116,7 +116,6 @@ class TransactionGroupTransformer extends AbstractTransformer
$row = new NullArrayObject($transaction);
// amount:
$type = $this->stringFromArray($transaction, 'transaction_type_type', TransactionType::WITHDRAWAL);
$amount = app('steam')->positive((string)($row['amount'] ?? '0'));
$foreignAmount = null;
if (null !== $row['foreign_amount']) {