From 6acd5be5dc63f48fd0e9eacd0bf489c4d280dd56 Mon Sep 17 00:00:00 2001 From: Michael Thomas Date: Thu, 7 Mar 2024 21:10:11 -0500 Subject: [PATCH] chore: remove accidental changes --- app/Providers/FireflyServiceProvider.php | 1 - app/TransactionRules/Factory/ActionFactory.php | 6 ++---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/app/Providers/FireflyServiceProvider.php b/app/Providers/FireflyServiceProvider.php index 200d9c1372..ff7a4f6d30 100644 --- a/app/Providers/FireflyServiceProvider.php +++ b/app/Providers/FireflyServiceProvider.php @@ -19,7 +19,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ - declare(strict_types=1); namespace FireflyIII\Providers; diff --git a/app/TransactionRules/Factory/ActionFactory.php b/app/TransactionRules/Factory/ActionFactory.php index 83209926c2..23780bce6d 100644 --- a/app/TransactionRules/Factory/ActionFactory.php +++ b/app/TransactionRules/Factory/ActionFactory.php @@ -19,7 +19,6 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ - declare(strict_types=1); namespace FireflyIII\TransactionRules\Factory; @@ -28,7 +27,6 @@ use FireflyIII\Exceptions\FireflyException; use FireflyIII\Models\RuleAction; use FireflyIII\Support\Domain; use FireflyIII\TransactionRules\Actions\ActionInterface; -use FireflyIII\TransactionRules\Expressions\ActionExpression; /** * Class ActionFactory can create actions. @@ -66,12 +64,12 @@ class ActionFactory $actionTypes = self::getActionTypes(); if (!array_key_exists($actionType, $actionTypes)) { - throw new FireflyException('No such action exists ("' . e($actionType) . '").'); + throw new FireflyException('No such action exists ("'.e($actionType).'").'); } $class = $actionTypes[$actionType]; if (!class_exists($class)) { - throw new FireflyException('Could not instantiate class for rule action type "' . e($actionType) . '" (' . e($class) . ').'); + throw new FireflyException('Could not instantiate class for rule action type "'.e($actionType).'" ('.e($class).').'); } return $class;