Skip to content

Firefly III: a personal finances manager

Update some code.

James Cole7851bb476e8d
diff --git a/app/Console/Commands/Upgrade/UpgradeLiabilities.php b/app/Console/Commands/Upgrade/UpgradeLiabilities.php
index 528ecf7b09..aae3bffc56 100644
--- a/app/Console/Commands/Upgrade/UpgradeLiabilities.php
+++ b/app/Console/Commands/Upgrade/UpgradeLiabilities.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
namespace FireflyIII\Console\Commands\Upgrade;
diff --git a/app/Events/StoredAccount.php b/app/Events/StoredAccount.php
index a5c948d5d3..eb016dd6d1 100644
--- a/app/Events/StoredAccount.php
+++ b/app/Events/StoredAccount.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* StoredAccount.php
* Copyright (c) 2021 [email protected]
@@ -43,4 +44,4 @@ class StoredAccount extends Event
$this->account = $account;
}
-}
\ No newline at end of file
+}
diff --git a/app/Events/UpdatedAccount.php b/app/Events/UpdatedAccount.php
index 1c01b8cf00..5afa242e3e 100644
--- a/app/Events/UpdatedAccount.php
+++ b/app/Events/UpdatedAccount.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* StoredAccount.php
* Copyright (c) 2021 [email protected]
@@ -43,4 +44,4 @@ class UpdatedAccount extends Event
$this->account = $account;
}
-}
\ No newline at end of file
+}
diff --git a/app/Handlers/Events/StoredAccountEventHandler.php b/app/Handlers/Events/StoredAccountEventHandler.php
index 5d87364a69..4784cfd546 100644
--- a/app/Handlers/Events/StoredAccountEventHandler.php
+++ b/app/Handlers/Events/StoredAccountEventHandler.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* StoredAccountEventHandler.php
* Copyright (c) 2021 [email protected]
@@ -41,4 +42,4 @@ class StoredAccountEventHandler
$object->recalculate();
}
-}
\ No newline at end of file
+}
diff --git a/app/Handlers/Events/UpdatedAccountEventHandler.php b/app/Handlers/Events/UpdatedAccountEventHandler.php
index 674ab383a9..23414e04f5 100644
--- a/app/Handlers/Events/UpdatedAccountEventHandler.php
+++ b/app/Handlers/Events/UpdatedAccountEventHandler.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* UpdatedAccountEventHandler.php
* Copyright (c) 2021 [email protected]
@@ -42,4 +43,4 @@ class UpdatedAccountEventHandler
$object->setAccount($account);
$object->recalculate();
}
-}
\ No newline at end of file
+}
diff --git a/app/Services/Internal/Support/CreditRecalculateService.php b/app/Services/Internal/Support/CreditRecalculateService.php
index 6f457e9649..47d55299e3 100644
--- a/app/Services/Internal/Support/CreditRecalculateService.php
+++ b/app/Services/Internal/Support/CreditRecalculateService.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* CreditRecalculateService.php
* Copyright (c) 2021 [email protected]
@@ -266,4 +267,4 @@ class CreditRecalculateService
}
-}
\ No newline at end of file
+}
diff --git a/app/Validation/Account/LiabilityValidation.php b/app/Validation/Account/LiabilityValidation.php
index bc29bee4a4..a3ced5c197 100644
--- a/app/Validation/Account/LiabilityValidation.php
+++ b/app/Validation/Account/LiabilityValidation.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* LiabilityValidation.php
* Copyright (c) 2021 [email protected]
@@ -93,4 +94,4 @@ trait LiabilityValidation
return $result ?? false;
}
-}
\ No newline at end of file
+}
diff --git a/database/migrations/2021_05_13_053836_extend_currency_info.php b/database/migrations/2021_05_13_053836_extend_currency_info.php
index 3118b72c66..f5fdacddc2 100644
--- a/database/migrations/2021_05_13_053836_extend_currency_info.php
+++ b/database/migrations/2021_05_13_053836_extend_currency_info.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;