diff --git a/app/Handlers/Events/FireRulesForStore.php b/app/Handlers/Events/FireRulesForStore.php index 39435cd1a8..55b343aae4 100644 --- a/app/Handlers/Events/FireRulesForStore.php +++ b/app/Handlers/Events/FireRulesForStore.php @@ -13,7 +13,7 @@ namespace FireflyIII\Handlers\Events; use FireflyIII\Events\TransactionJournalStored; use FireflyIII\Models\Rule; use FireflyIII\Models\RuleGroup; -use FireflyIII\Rules\Processor; +use FireflyIII\Rules\TriggerProcessor; use FireflyIII\User; use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Support\Facades\Auth; @@ -63,7 +63,7 @@ class FireRulesForStore /** @var Rule $rule */ foreach ($rules as $rule) { Log::debug('Now handling rule #' . $rule->id); - $processor = new Processor($rule, $event->journal); + $processor = new TriggerProcessor($rule, $event->journal); // get some return out of this? $processor->handle(); diff --git a/app/Rules/Processor.php b/app/Rules/TriggerProcessor.php similarity index 96% rename from app/Rules/Processor.php rename to app/Rules/TriggerProcessor.php index 0f58d9015f..216f05b178 100644 --- a/app/Rules/Processor.php +++ b/app/Rules/TriggerProcessor.php @@ -1,6 +1,6 @@