From 4e2dff4591bb2062311c1d5bfcdca3ade2a76d16 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 9 Jan 2022 18:21:40 +0100 Subject: Add spell checking with typos (#4138) * Add spell checking with typos Implement https://github.com/FreshRSS/FreshRSS/pull/4134#issuecomment-1008027558 * GitHub Actions attempt * Quiet wget * Makefile --- app/Controllers/statsController.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'app/Controllers/statsController.php') diff --git a/app/Controllers/statsController.php b/app/Controllers/statsController.php index 2815af4a5..d03c4fa3d 100644 --- a/app/Controllers/statsController.php +++ b/app/Controllers/statsController.php @@ -23,25 +23,25 @@ class FreshRSS_stats_Controller extends FreshRSS_ActionController { FreshRSS_View::prependTitle(_t('admin.stats.title') . ' ยท '); } - private function convertToSerie($data) { - $serie = array(); + private function convertToSeries($data) { + $series = array(); foreach ($data as $key => $value) { - $serie[] = array($key, $value); + $series[] = array($key, $value); } - return $serie; + return $series; } - private function convertToPieSerie($data) { - $serie = array(); + private function convertToPieSeries($data) { + $series = array(); foreach ($data as $value) { $value['data'] = array(array(0, (int) $value['data'])); - $serie[] = $value; + $series[] = $value; } - return $serie; + return $series; } /** -- cgit v1.2.3