aboutsummaryrefslogtreecommitdiff
path: root/lib/Minz/Error.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2025-01-08 13:26:09 +0100
committerGravatar GitHub <noreply@github.com> 2025-01-08 13:26:09 +0100
commit50adb559823f935582f3ed308b8d4352c5f216ed (patch)
tree74f09efadfcaf28f82505e791e267596f4026053 /lib/Minz/Error.php
parentfa701b39f3775ac4250a82fabcec8970b446789b (diff)
Add some missing PHP native types (#7191)
* Add some missing PHP native types Replaces https://github.com/FreshRSS/FreshRSS/pull/7184 * Clean some types
Diffstat (limited to 'lib/Minz/Error.php')
-rw-r--r--lib/Minz/Error.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Minz/Error.php b/lib/Minz/Error.php
index e95fd346c..e44ec8579 100644
--- a/lib/Minz/Error.php
+++ b/lib/Minz/Error.php
@@ -52,7 +52,7 @@ class Minz_Error {
* @param string|array<'error'|'warning'|'notice',list<string>> $logs logs sorted by category (error, warning, notice)
* @return list<string> list of matching logs, without the category, according to environment preferences (production / development)
*/
- private static function processLogs($logs): array {
+ private static function processLogs(string|array $logs): array {
if (is_string($logs)) {
return [$logs];
}