Skip to content

Firefly III: a personal finances manager

Fix some code.

James Cole1a8486972956
diff --git a/app/Http/Controllers/Transaction/ShowController.php b/app/Http/Controllers/Transaction/ShowController.php
index 7cb48140b0..b4c31f48e1 100644
--- a/app/Http/Controllers/Transaction/ShowController.php
+++ b/app/Http/Controllers/Transaction/ShowController.php
@@ -37,7 +37,7 @@ use FireflyIII\User;
use Illuminate\Contracts\View\Factory;
use Illuminate\Http\JsonResponse;
use Illuminate\View\View;
-use Symfony\Component\HttpFoundation\ParameterBag;
+
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
/**
diff --git a/app/View/Components/Form/Alpine/Title.php b/app/View/Components/Form/Alpine/Title.php
index a99f91987b..b5f5bcd41d 100644
--- a/app/View/Components/Form/Alpine/Title.php
+++ b/app/View/Components/Form/Alpine/Title.php
@@ -1,5 +1,8 @@
<?php
+declare(strict_types=1);
+
+
namespace FireflyIII\View\Components\Form\Alpine;
use Closure;
diff --git a/app/View/Components/Lists/Attachments.php b/app/View/Components/Lists/Attachments.php
index 1e60de6350..6afb0a146c 100644
--- a/app/View/Components/Lists/Attachments.php
+++ b/app/View/Components/Lists/Attachments.php
@@ -1,5 +1,8 @@
<?php
+declare(strict_types=1);
+
+
namespace FireflyIII\View\Components\Lists;
use Closure;
diff --git a/app/View/Components/Lists/Categories.php b/app/View/Components/Lists/Categories.php
index 8e299d57d4..cdda40809e 100644
--- a/app/View/Components/Lists/Categories.php
+++ b/app/View/Components/Lists/Categories.php
@@ -1,5 +1,8 @@
<?php
+declare(strict_types=1);
+
+
namespace FireflyIII\View\Components\Lists;
use Closure;
diff --git a/app/View/Components/Lists/PiggyBankEvents.php b/app/View/Components/Lists/PiggyBankEvents.php
index 999ee7e559..aa422c1b04 100644
--- a/app/View/Components/Lists/PiggyBankEvents.php
+++ b/app/View/Components/Lists/PiggyBankEvents.php
@@ -1,5 +1,8 @@
<?php
+declare(strict_types=1);
+
+
namespace FireflyIII\View\Components\Lists;
use Closure;
diff --git a/app/View/Components/Report/Partial/JournalsAudit.php b/app/View/Components/Report/Partial/JournalsAudit.php
index 668e57e8cd..7aead03671 100644
--- a/app/View/Components/Report/Partial/JournalsAudit.php
+++ b/app/View/Components/Report/Partial/JournalsAudit.php
@@ -1,5 +1,8 @@
<?php
+declare(strict_types=1);
+
+
namespace FireflyIII\View\Components\Report\Partial;
use Closure;