mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Various report updates and code cleanup.
This commit is contained in:
@@ -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.*']);
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user