diff options
Diffstat (limited to 'app')
| -rw-r--r-- | app/Controllers/statsController.php | 16 | ||||
| -rw-r--r-- | app/Models/Share.php | 2 |
2 files changed, 9 insertions, 9 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; } /** diff --git a/app/Models/Share.php b/app/Models/Share.php index 36e17c201..c453fbaac 100644 --- a/app/Models/Share.php +++ b/app/Models/Share.php @@ -121,7 +121,7 @@ class FreshRSS_Share { /** * Update a FreshRSS_Share object with information from an array. - * @param array<string,string> $options is a list of informations to update where keys should be + * @param array<string,string> $options is a list of information to update where keys should be * in this list: name, url, id, title, link. */ public function update($options) { |
