James Cole
2 years ago
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80
2 changed files with
0 additions and
7 deletions
-
app/Services/Nordigen/Conversion/Routine/FilterTransactions.php
-
app/Services/Spectre/Conversion/Routine/FilterTransactions.php
|
|
@ -40,7 +40,6 @@ class FilterTransactions |
|
|
|
|
|
|
|
public function filter(array $transactions): array |
|
|
|
{ |
|
|
|
$start = count($transactions); |
|
|
|
$return = []; |
|
|
|
|
|
|
|
/** @var array $transaction */ |
|
|
@ -50,9 +49,6 @@ class FilterTransactions |
|
|
|
|
|
|
|
$return[] = $transaction; |
|
|
|
} |
|
|
|
$end = count($return); |
|
|
|
|
|
|
|
$this->addMessage(0, sprintf('Filtered down from %d (possibly duplicate) entries to %d unique transactions.', $start, $end)); |
|
|
|
|
|
|
|
return $return; |
|
|
|
} |
|
|
|
|
|
@ -40,7 +40,6 @@ class FilterTransactions |
|
|
|
|
|
|
|
public function filter(array $transactions): array |
|
|
|
{ |
|
|
|
$start = count($transactions); |
|
|
|
$return = []; |
|
|
|
|
|
|
|
/** @var array $transaction */ |
|
|
@ -54,8 +53,6 @@ class FilterTransactions |
|
|
|
$return[] = $transaction; |
|
|
|
// app('log')->debug('Filtered ', $transaction);
|
|
|
|
} |
|
|
|
$end = count($return); |
|
|
|
$this->addMessage(0, sprintf('Filtered down from %d (possibly duplicate) entries to %d unique transactions.', $start, $end)); |
|
|
|
|
|
|
|
return $return; |
|
|
|
} |
|
|
|