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

@@ -36,11 +36,11 @@ use Illuminate\Pagination\LengthAwarePaginator;
*/
class IndexController extends Controller
{
/** @var AccountRepositoryInterface */
/** @var AccountRepositoryInterface The account repository */
private $repository;
/**
*
* IndexController constructor.
*/
public function __construct()
{
@@ -60,6 +60,8 @@ class IndexController extends Controller
}
/**
* Show list of accounts.
*
* @param Request $request
* @param string $what
*
@@ -106,6 +108,8 @@ class IndexController extends Controller
/**
* Find the ID in a given array. Return '0' of not there (amount).
*
* @param array $array
* @param int $entryId
*