From 7290393f2afe0f99d62e4fd600ef2e0bc2ecfc45 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 28 May 2023 12:38:27 +0000 Subject: [PATCH] phcbf autofixes --- Admin/Installer.php | 8 ++++---- Models/Expense.php | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Admin/Installer.php b/Admin/Installer.php index 3d978d0..c8e6419 100644 --- a/Admin/Installer.php +++ b/Admin/Installer.php @@ -54,8 +54,8 @@ final class Installer extends InstallerAbstract } /** @var array $types */ - $types = \json_decode($fileContent, true); - $expenseTypes = self::createExpenseTypes($app, $types); + $types = \json_decode($fileContent, true); + $expenseTypes = self::createExpenseTypes($app, $types); /* Element types */ $fileContent = \file_get_contents(__DIR__ . '/Install/elementtypes.json'); @@ -64,8 +64,8 @@ final class Installer extends InstallerAbstract } /** @var array $types */ - $types = \json_decode($fileContent, true); - $elementTypes = self::createExpenseElementTypes($app, $types); + $types = \json_decode($fileContent, true); + $elementTypes = self::createExpenseElementTypes($app, $types); } /** diff --git a/Models/Expense.php b/Models/Expense.php index c342a62..7774575 100644 --- a/Models/Expense.php +++ b/Models/Expense.php @@ -26,7 +26,8 @@ use phpOMS\Stdlib\Base\FloatInt; * @link https://jingga.app * @since 1.0.0 */ -class Expense { +class Expense +{ public int $id = 0; public Account $from;