diff options
| author | 2022-01-09 18:21:40 +0100 | |
|---|---|---|
| committer | 2022-01-09 18:21:40 +0100 | |
| commit | 4e2dff4591bb2062311c1d5bfcdca3ade2a76d16 (patch) | |
| tree | a876374a709f04f919b35ae8e1e53774a0aca39c /lib/Minz/Error.php | |
| parent | 9dbbe924c5e54b5dbe486873a9b31a28127c8e62 (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 'lib/Minz/Error.php')
| -rw-r--r-- | lib/Minz/Error.php | 9 |
1 files changed, 4 insertions, 5 deletions
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,string>|string $logs les logs rangés par catégories (error, warning, notice) - * @return array<string> liste des logs, sans catégorie, en fonction de l'environment + * Returns filtered logs + * @param array<string,string>|string $logs logs sorted by category (error, warning, notice) + * @return array<string> list of matching logs, without the category, according to environment preferences (production / development) */ private static function processLogs ($logs) { $conf = Minz_Configuration::get('system'); |
