mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-18 18:44:16 +00:00
Actually use journal [skip ci]
This commit is contained in:
@@ -43,8 +43,6 @@ class ImportStorage
|
||||
private $objects;
|
||||
/** @var Collection */
|
||||
private $rules;
|
||||
/** @var TagRepositoryInterface */
|
||||
private $tagRepository;
|
||||
|
||||
/** @var array */
|
||||
private $transfers = [];
|
||||
|
@@ -47,7 +47,7 @@ trait ImportSupport
|
||||
{
|
||||
if ($this->rules->count() > 0) {
|
||||
$this->rules->each(
|
||||
function (Rule $rule) {
|
||||
function (Rule $rule) use($journal) {
|
||||
Log::debug(sprintf('Going to apply rule #%d to journal %d.', $rule->id, $journal->id));
|
||||
$processor = Processor::make($rule);
|
||||
$processor->handleTransactionJournal($journal);
|
||||
|
Reference in New Issue
Block a user