diff --git a/app/Http/Controllers/TransactionController.php b/app/Http/Controllers/TransactionController.php index 8db37205bd..604a10d789 100644 --- a/app/Http/Controllers/TransactionController.php +++ b/app/Http/Controllers/TransactionController.php @@ -285,7 +285,7 @@ class TransactionController extends Controller $what = strtolower($journal->getTransactionType()); $subTitle = trans('firefly.' . $journal->getTransactionType()) . ' "' . e($journal->description) . '"'; - return view('transactions.show', compact('journal','events', 'subTitle', 'what')); + return view('transactions.show', compact('journal', 'events', 'subTitle', 'what')); } /** diff --git a/app/Models/AccountType.php b/app/Models/AccountType.php index 6716a9ab69..65b1e0474c 100644 --- a/app/Models/AccountType.php +++ b/app/Models/AccountType.php @@ -33,6 +33,7 @@ class AccountType extends Model /** * @return array */ + /** @noinspection PhpMissingParentCallCommonInspection */ public function getDates() { return ['created_at', 'updated_at']; diff --git a/app/Models/PiggyBankEvent.php b/app/Models/PiggyBankEvent.php index a06e3dd35a..d2c016e356 100644 --- a/app/Models/PiggyBankEvent.php +++ b/app/Models/PiggyBankEvent.php @@ -32,6 +32,7 @@ class PiggyBankEvent extends Model /** * @return array */ + /** @noinspection PhpMissingParentCallCommonInspection */ public function getDates() { return ['created_at', 'updated_at', 'date'];