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 --- lib/Minz/Error.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'lib/Minz/Error.php') diff --git a/lib/Minz/Error.php b/lib/Minz/Error.php index fc8e0f807..3162c6f99 100644 --- a/lib/Minz/Error.php +++ b/lib/Minz/Error.php @@ -5,7 +5,7 @@ */ /** - * La classe Error permet de lancer des erreurs HTTP + * The Minz_Error class logs and raises framework errors */ class Minz_Error { public function __construct () { } @@ -48,10 +48,9 @@ class Minz_Error { } /** - * Permet de retourner les logs de façon à n'avoir que - * ceux que l'on veut réellement - * @param array|string $logs les logs rangés par catégories (error, warning, notice) - * @return array liste des logs, sans catégorie, en fonction de l'environment + * Returns filtered logs + * @param array|string $logs logs sorted by category (error, warning, notice) + * @return array list of matching logs, without the category, according to environment preferences (production / development) */ private static function processLogs ($logs) { $conf = Minz_Configuration::get('system'); -- cgit v1.2.3