Code cleanup.

This commit is contained in:
James Cole
2016-11-05 18:43:18 +01:00
parent 7b4c151df5
commit 962cad33e2
15 changed files with 20 additions and 46 deletions

View File

@@ -275,13 +275,12 @@ class AccountController extends Controller
}
/**
* @param AccountTaskerInterface $tasker
* @param Account $account
* @param string $date
*
* @return View
*/
public function showWithDate(AccountTaskerInterface $tasker, Account $account, string $date)
public function showWithDate(Account $account, string $date)
{
$carbon = new Carbon($date);
$range = Preferences::get('viewRange', '1M')->data;