Rename method.

Signed-off-by: James Cole <thegrumpydictator@gmail.com>
This commit is contained in:
James Cole 2016-03-14 20:52:08 +01:00
parent c058629172
commit 114dd5fc2a

View File

@ -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';