diff --git a/app/database/seeds/TestContentSeeder.php b/app/database/seeds/TestContentSeeder.php index 8520a98043..16773fd33a 100644 --- a/app/database/seeds/TestContentSeeder.php +++ b/app/database/seeds/TestContentSeeder.php @@ -526,6 +526,9 @@ class TestContentSeeder extends Seeder } } + /** + * @param $date + */ public function createBigExpense($date) { $date->addDays(12); diff --git a/app/lib/FireflyIII/Database/Account/Account.php b/app/lib/FireflyIII/Database/Account/Account.php index e4facd4374..f0a2e058e3 100644 --- a/app/lib/FireflyIII/Database/Account/Account.php +++ b/app/lib/FireflyIII/Database/Account/Account.php @@ -361,6 +361,7 @@ class Account implements CUD, CommonDatabaseCalls, AccountInterface $model->save(); if (isset($data['openingbalance']) && isset($data['openingbalancedate']) && strlen($data['openingbalancedate']) > 0) { + /** @noinspection PhpParamsInspection */ $openingBalance = $this->openingBalanceTransaction($model); // TODO this needs cleaning up and thinking over. if (is_null($openingBalance)) { diff --git a/app/lib/FireflyIII/Database/TransactionJournal/TransactionJournal.php b/app/lib/FireflyIII/Database/TransactionJournal/TransactionJournal.php index 5637cf7856..406c5d075f 100644 --- a/app/lib/FireflyIII/Database/TransactionJournal/TransactionJournal.php +++ b/app/lib/FireflyIII/Database/TransactionJournal/TransactionJournal.php @@ -106,6 +106,7 @@ class TransactionJournal implements TransactionJournalInterface, CUD, CommonData list($fromAccount, $toAccount) = $this->storeAccounts($data); + /** @noinspection PhpParamsInspection */ $this->storeBudget($data, $model); $this->storeCategory($data, $model); diff --git a/app/lib/FireflyIII/Database/User/User.php b/app/lib/FireflyIII/Database/User/User.php index 698eb6033b..0c8888d758 100644 --- a/app/lib/FireflyIII/Database/User/User.php +++ b/app/lib/FireflyIII/Database/User/User.php @@ -14,7 +14,7 @@ class User /** * @param $mail * - * @return null|User + * @return null|\User */ public function findByEmail($mail) { diff --git a/app/lib/FireflyIII/Report/Report.php b/app/lib/FireflyIII/Report/Report.php index e12567a9a1..d96a676900 100644 --- a/app/lib/FireflyIII/Report/Report.php +++ b/app/lib/FireflyIII/Report/Report.php @@ -118,6 +118,7 @@ class Report implements ReportInterface /** @var \Account $account */ foreach ($list as $account) { $id = intval($account->id); + /** @noinspection PhpParamsInspection */ $accounts[$id] = [ 'name' => $account->name, 'startBalance' => \Steam::balance($account, $start), diff --git a/app/lib/FireflyIII/Report/ReportQuery.php b/app/lib/FireflyIII/Report/ReportQuery.php index 355568bd1a..e2ccc51ed7 100644 --- a/app/lib/FireflyIII/Report/ReportQuery.php +++ b/app/lib/FireflyIII/Report/ReportQuery.php @@ -139,6 +139,7 @@ class ReportQuery implements ReportQueryInterface ->get(['accounts.*']); $set->each( function (\Account $account) use ($start, $end) { + /** @noinspection PhpParamsInspection */ $account->startBalance = \Steam::balance($account, $start); $account->endBalance = \Steam::balance($account, $end); }