mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-13 16:00:13 +00:00
Code cleanup
This commit is contained in:
@@ -505,7 +505,7 @@ class SpectreRoutine implements RoutineInterface
|
||||
Log::debug('Looping journals...');
|
||||
$journalIds = $storage->journals->pluck('id')->toArray();
|
||||
$tagId = $tag->id;
|
||||
$this->addTotalSteps(count($journalIds));
|
||||
$this->addTotalSteps(\count($journalIds));
|
||||
|
||||
foreach ($journalIds as $journalId) {
|
||||
Log::debug(sprintf('Linking journal #%d to tag #%d...', $journalId, $tagId));
|
||||
@@ -551,7 +551,7 @@ class SpectreRoutine implements RoutineInterface
|
||||
'import_id' => $importId,
|
||||
'transactions' => $transactions,
|
||||
];
|
||||
$count += count($transactions);
|
||||
$count += \count($transactions);
|
||||
}
|
||||
Log::debug(sprintf('Total number of transactions: %d', $count));
|
||||
$this->addStep();
|
||||
|
Reference in New Issue
Block a user