Various report updates and code cleanup.

This commit is contained in:
James Cole
2016-12-04 18:02:19 +01:00
parent 905a2432c6
commit f4b9b7ae84
32 changed files with 592 additions and 450 deletions

View File

@@ -66,7 +66,7 @@ class BillRepository implements BillRepositoryInterface
*
* @return Bill
*/
public function find(int $billId) : Bill
public function find(int $billId): Bill
{
$bill = $this->user->bills()->find($billId);
if (is_null($bill)) {
@@ -83,7 +83,7 @@ class BillRepository implements BillRepositoryInterface
*
* @return Bill
*/
public function findByName(string $name) : Bill
public function findByName(string $name): Bill
{
$bills = $this->user->bills()->get(['bills.*']);

View File

@@ -40,7 +40,7 @@ interface BillRepositoryInterface
*
* @return Bill
*/
public function find(int $billId) : Bill;
public function find(int $billId): Bill;
/**
* Find a bill by name.
@@ -49,7 +49,7 @@ interface BillRepositoryInterface
*
* @return Bill
*/
public function findByName(string $name) : Bill;
public function findByName(string $name): Bill;
/**
* @return Collection