mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Some code cleanup courtesy of phpstorm.
This commit is contained in:
@@ -399,11 +399,14 @@ class CategoryRepository extends ComponentRepository implements CategoryReposito
|
||||
return $sum;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param Category $category
|
||||
* @param int $page
|
||||
* @param Carbon $start
|
||||
* @param Carbon $end
|
||||
*
|
||||
* @return Collection
|
||||
* @return mixed
|
||||
*/
|
||||
public function getJournalsInRange(Category $category, $page, Carbon $start, Carbon $end)
|
||||
{
|
||||
@@ -424,6 +427,9 @@ class CategoryRepository extends ComponentRepository implements CategoryReposito
|
||||
/**
|
||||
* @param Category $category
|
||||
*
|
||||
* @param Carbon $start
|
||||
* @param Carbon $end
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function countJournalsInRange(Category $category, Carbon $start, Carbon $end)
|
||||
|
@@ -23,6 +23,9 @@ interface CategoryRepositoryInterface
|
||||
/**
|
||||
* @param Category $category
|
||||
*
|
||||
* @param Carbon $start
|
||||
* @param Carbon $end
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function countJournalsInRange(Category $category, Carbon $start, Carbon $end);
|
||||
@@ -141,6 +144,9 @@ interface CategoryRepositoryInterface
|
||||
* @param Category $category
|
||||
* @param int $page
|
||||
*
|
||||
* @param Carbon $start
|
||||
* @param Carbon $end
|
||||
*
|
||||
* @return Collection
|
||||
*/
|
||||
public function getJournalsInRange(Category $category, $page, Carbon $start, Carbon $end);
|
||||
|
Reference in New Issue
Block a user