Extra report and cleanup.

This commit is contained in:
James Cole
2015-02-23 21:19:16 +01:00
parent 220d689f69
commit 3e28c0c00a
18 changed files with 415 additions and 191 deletions

View File

@@ -58,6 +58,7 @@ class BudgetRepository implements BudgetRepositoryInterface
foreach ($set as $entry) {
$items[] = $entry;
}
return new LengthAwarePaginator($items, $count, $take, $offset);
}

View File

@@ -1,9 +1,11 @@
<?php
namespace FireflyIII\Repositories\Budget;
use Carbon\Carbon;
use FireflyIII\Models\Budget;
use FireflyIII\Models\LimitRepetition;
use Carbon\Carbon;
/**
* Interface BudgetRepositoryInterface
*
@@ -44,7 +46,7 @@ interface BudgetRepositoryInterface
/**
* @param Budget $budget
* @param array $data
* @param array $data
*
* @return Budget
*/
@@ -55,7 +57,7 @@ interface BudgetRepositoryInterface
*
* @param Budget $budget
* @param LimitRepetition $repetition
* @param int $take
* @param int $take
*
* @return \Illuminate\Pagination\Paginator
*/

View File

@@ -1,7 +1,9 @@
<?php
namespace FireflyIII\Repositories\Category;
use FireflyIII\Models\Category;
/**
* Interface CategoryRepositoryInterface
*
@@ -25,7 +27,7 @@ interface CategoryRepositoryInterface
/**
* @param Category $category
* @param array $data
* @param array $data
*
* @return Category
*/