mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-16 17:33:45 +00:00
This fixes the broken tests.
This commit is contained in:
@@ -607,7 +607,7 @@ class BudgetRepository extends ComponentRepository implements BudgetRepositoryIn
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function spentPerDay(Budget $budget, Carbon $start, Carbon $end)
|
||||
public function spentPerDay(Budget $budget, Carbon $start, Carbon $end): array
|
||||
{
|
||||
/** @var Collection $query */
|
||||
$query = $budget->transactionjournals()
|
||||
|
@@ -221,7 +221,7 @@ interface BudgetRepositoryInterface
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function spentPerDay(Budget $budget, Carbon $start, Carbon $end);
|
||||
public function spentPerDay(Budget $budget, Carbon $start, Carbon $end): array;
|
||||
|
||||
/**
|
||||
* @param array $data
|
||||
|
Reference in New Issue
Block a user