Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Code cleanup.
James Cole9aed1f344f8a
diff --git a/app/Http/Controllers/Popup/ReportController.php b/app/Http/Controllers/Popup/ReportController.phpindex 2bfd7f941b..47c76aed89 100644--- a/app/Http/Controllers/Popup/ReportController.php+++ b/app/Http/Controllers/Popup/ReportController.php@@ -19,7 +19,6 @@ use FireflyIII\Models\TransactionJournal;use FireflyIII\Repositories\Account\AccountRepositoryInterface;use FireflyIII\Repositories\Budget\BudgetRepositoryInterface;use FireflyIII\Repositories\Category\SingleCategoryRepositoryInterface;-use FireflyIII\Repositories\Tag\TagRepositoryInterface;use FireflyIII\Support\Binder\AccountList;use Illuminate\Http\Request;use InvalidArgumentException;@@ -91,9 +90,6 @@ class ReportController extends Controller$accountRepository = app('FireflyIII\Repositories\Account\AccountRepositoryInterface');$account = $accountRepository->find(intval($attributes['accountId']));- /** @var TagRepositoryInterface $tagRepository */- $tagRepository = app('FireflyIII\Repositories\Tag\TagRepositoryInterface');-switch (true) {case ($role === BalanceLine::ROLE_DEFAULTROLE && !is_null($budget->id)):$journals = $budgetRepository->expensesSplit($budget, $account, $attributes['startDate'], $attributes['endDate']);diff --git a/app/User.php b/app/User.phpindex 6879e9c226..7fa2a18230 100644--- a/app/User.php+++ b/app/User.php@@ -19,6 +19,9 @@ use Illuminate\Foundation\Auth\User as Authenticatable;* @property string $password* @property string $remember_token* @property string $reset+ * @property bool $activated+ * @property bool $isAdmin+ * @property bool $has2FA* @property boolean $blocked* @property string $blocked_code* @property-read \Illuminate\Database\Eloquent\Collection|\FireflyIII\Models\Account[] $accounts