Various fixes for tests and code quality.

This commit is contained in:
James Cole
2018-07-20 20:53:48 +02:00
parent 49ff6febe5
commit ec7ef3a813
28 changed files with 79 additions and 50 deletions

View File

@@ -45,13 +45,13 @@ use View;
*/
class ShowController extends Controller
{
/** @var CurrencyRepositoryInterface */
/** @var CurrencyRepositoryInterface The currency repository */
private $currencyRepos;
/** @var AccountRepositoryInterface */
/** @var AccountRepositoryInterface The account repository */
private $repository;
/**
*
* ShowController constructor.
*/
public function __construct()
{
@@ -241,6 +241,8 @@ class ShowController extends Controller
}
/**
* Redirect to the original account.
*
* @param Account $account
*
* @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector