Remove TODO's, add some suppressors for code quality.

This commit is contained in:
James Cole
2018-07-25 19:43:02 +02:00
parent 02272f7db0
commit e8c9554dd6
35 changed files with 196 additions and 227 deletions

View File

@@ -121,8 +121,6 @@ class Controller extends BaseController
/**
* Is transaction opening balance?
*
* TODO move to trait.
*
* @param TransactionJournal $journal
*
* @return bool
@@ -136,8 +134,6 @@ class Controller extends BaseController
/**
* Redirect to asset account that transaction belongs to.
*
* TODO move to trait.
*
* @param TransactionJournal $journal
*
* @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector
@@ -172,9 +168,6 @@ class Controller extends BaseController
/**
* Get user's language.
*
* TODO pretty sure nobody uses this.
*
* @return string
*/
private function getLanguage(): string
@@ -196,8 +189,6 @@ class Controller extends BaseController
/**
* Get the specific name of a page for intro.
*
* TODO move to trait.
*
* @return string
*/
private function getSpecificPageName(): string
@@ -208,8 +199,6 @@ class Controller extends BaseController
/**
* Returns if user has seen demo.
*
* TODO move to trait.
*
* @return bool
*/
private function hasSeenDemo(): bool