mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Add logs.
This commit is contained in:
parent
cf067d0bd2
commit
7362a36a98
@ -241,13 +241,14 @@ class BillTransformer extends AbstractTransformer
|
||||
$currentStart = clone $nextExpectedMatch;
|
||||
$loop++;
|
||||
}
|
||||
Log::debug(sprintf('Loop has ended after %d loops', $loop));
|
||||
$simple = $set->map(
|
||||
static function (Carbon $date) {
|
||||
return $date->format('Y-m-d');
|
||||
}
|
||||
);
|
||||
$array = $simple->toArray();
|
||||
Log::debug(sprintf('Loop has ended after %d loops', $loop), $array);
|
||||
|
||||
return $simple->toArray();
|
||||
return $array;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user