Various code cleaning things.

This commit is contained in:
James Cole
2016-02-17 21:14:32 +01:00
parent 6f59e79b28
commit b1c2f8faa1
10 changed files with 29 additions and 13 deletions

View File

@@ -371,8 +371,8 @@ class Importer
/** @var Rule $rule */
foreach ($group->rules as $rule) {
$processor = new Processor($rule, $journal);
$processor->handle();
$processor = Processor::make($rule);
$processor->handleTransactionJournal($journal);
if ($rule->stop_processing) {
break;
}