aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/statsController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2022-01-09 18:21:40 +0100
committerGravatar GitHub <noreply@github.com> 2022-01-09 18:21:40 +0100
commit4e2dff4591bb2062311c1d5bfcdca3ade2a76d16 (patch)
treea876374a709f04f919b35ae8e1e53774a0aca39c /app/Controllers/statsController.php
parent9dbbe924c5e54b5dbe486873a9b31a28127c8e62 (diff)
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
Diffstat (limited to 'app/Controllers/statsController.php')
-rw-r--r--app/Controllers/statsController.php16
1 files changed, 8 insertions, 8 deletions
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;
}
/**