mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Rename method.
Signed-off-by: James Cole <thegrumpydictator@gmail.com>
This commit is contained in:
parent
c058629172
commit
114dd5fc2a
@ -62,7 +62,7 @@ class ReportController extends Controller
|
|||||||
$entries = new Collection;
|
$entries = new Collection;
|
||||||
while ($current < $end) {
|
while ($current < $end) {
|
||||||
$balances = Steam::balancesById($ids, $current);
|
$balances = Steam::balancesById($ids, $current);
|
||||||
$sum = $this->array_sum($balances);
|
$sum = $this->arraySum($balances);
|
||||||
$entries->push(
|
$entries->push(
|
||||||
[
|
[
|
||||||
'date' => clone $current,
|
'date' => clone $current,
|
||||||
@ -303,7 +303,7 @@ class ReportController extends Controller
|
|||||||
*
|
*
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
private function array_sum($array) : string
|
private function arraySum($array) : string
|
||||||
{
|
{
|
||||||
bcscale(2);
|
bcscale(2);
|
||||||
$sum = '0';
|
$sum = '0';
|
||||||
|
Loading…
Reference in New Issue
Block a user