Refactor method to original name #524

This commit is contained in:
James Cole 2017-01-05 08:48:16 +01:00
parent 7c5ee8a67d
commit b575b87f77
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
3 changed files with 3 additions and 3 deletions

View File

@ -149,7 +149,7 @@ class CategoryController extends Controller
}
}
$chartData[strval(trans('firefly.no_category'))] = bcmul($repository->spentInPeriodWithoutCategoryCollector(new Collection, $start, $end), '-1');
$chartData[strval(trans('firefly.no_category'))] = bcmul($repository->spentInPeriodWithoutCategory(new Collection, $start, $end), '-1');
// sort
arsort($chartData);

View File

@ -410,7 +410,7 @@ class CategoryRepository implements CategoryRepositoryInterface
*
* @return string
*/
public function spentInPeriodWithoutCategoryCollector(Collection $accounts, Carbon $start, Carbon $end): string
public function spentInPeriodWithoutCategory(Collection $accounts, Carbon $start, Carbon $end): string
{
/** @var JournalCollectorInterface $collector */
$collector = app(JournalCollectorInterface::class, [$this->user]);

View File

@ -138,7 +138,7 @@ interface CategoryRepositoryInterface
*
* @return string
*/
public function spentInPeriodWithoutCategoryCollector(Collection $accounts, Carbon $start, Carbon $end): string;
public function spentInPeriodWithoutCategory(Collection $accounts, Carbon $start, Carbon $end): string;
/**
* @param array $data