aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cli
diff options
context:
space:
mode:
authorAlexandre Alapetite <alexandre@alapetite.fr>2025-01-08 13:26:09 +0100
committerGitHub <noreply@github.com>2025-01-08 13:26:09 +0100
commit50adb559823f935582f3ed308b8d4352c5f216ed (patch)
tree74f09efadfcaf28f82505e791e267596f4026053 /cli
parentfa701b39f3775ac4250a82fabcec8970b446789b (diff)
downloadfreshrss-50adb559823f935582f3ed308b8d4352c5f216ed.tar.gz
freshrss-50adb559823f935582f3ed308b8d4352c5f216ed.zip
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 'cli')
-rw-r--r--cli/i18n/I18nValue.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/i18n/I18nValue.php b/cli/i18n/I18nValue.php
index ba6465062..d7f5107cc 100644
--- a/cli/i18n/I18nValue.php
+++ b/cli/i18n/I18nValue.php
@@ -15,7 +15,7 @@ class I18nValue implements \Stringable {
private ?string $state = null;
/** @param I18nValue|string $data */
- public function __construct($data) {
+ public function __construct(I18nValue|string $data) {
if ($data instanceof I18nValue) {
$data = $data->__toString();
}