From ce250c85fc26d0cd46d7fc2e9f03b81d81bfe603 Mon Sep 17 00:00:00 2001 From: James Cole Date: Wed, 13 Jan 2016 07:48:43 +0100 Subject: [PATCH] Rename class. --- app/Handlers/Events/FireRulesForStore.php | 4 ++-- app/Rules/{Processor.php => TriggerProcessor.php} | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) rename app/Rules/{Processor.php => TriggerProcessor.php} (96%) 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 @@