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

@@ -30,16 +30,15 @@ use FireflyIII\Repositories\Account\AccountRepositoryInterface;
use Illuminate\Http\Request;
/**
*
* Class DeleteController
*/
class DeleteController extends Controller
{
/** @var AccountRepositoryInterface */
/** @var AccountRepositoryInterface The account repository */
private $repository;
/**
*
* DeleteController constructor.
*/
public function __construct()
{
@@ -59,6 +58,8 @@ class DeleteController extends Controller
}
/**
* Delete account screen.
*
* @param Account $account
*
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
@@ -77,6 +78,8 @@ class DeleteController extends Controller
}
/**
* Delete the account.
*
* @param Request $request
* @param Account $account
*