From 50adb559823f935582f3ed308b8d4352c5f216ed Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Wed, 8 Jan 2025 13:26:09 +0100 Subject: Add some missing PHP native types (#7191) * Add some missing PHP native types Replaces https://github.com/FreshRSS/FreshRSS/pull/7184 * Clean some types --- cli/i18n/I18nValue.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli') 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(); } -- cgit v1.2.3