From 06d00995049db9c7b915f67cfd4a5708aace458f Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Mon, 30 Oct 2023 20:47:27 +0100 Subject: Require PHP 7.4+ (#5720) * Require PHP 7.4+ https://github.com/FreshRSS/FreshRSS/discussions/5474 * Update Docker oldest Alpine 3.13 with PHP 7.4.26 * Add missing packets to Docker oldest * Update to typed properties https://php.net/migration74.new-features#migration74.new-features.core.typed-properties * More types --- cli/i18n/I18nCompletionValidator.php | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'cli/i18n/I18nCompletionValidator.php') diff --git a/cli/i18n/I18nCompletionValidator.php b/cli/i18n/I18nCompletionValidator.php index 3903e18cd..6240580c4 100644 --- a/cli/i18n/I18nCompletionValidator.php +++ b/cli/i18n/I18nCompletionValidator.php @@ -5,15 +5,12 @@ require_once __DIR__ . '/I18nValidatorInterface.php'; class I18nCompletionValidator implements I18nValidatorInterface { /** @var array> */ - private $reference; + private array $reference; /** @var array> */ - private $language; - /** @var int */ - private $totalEntries = 0; - /** @var int */ - private $passEntries = 0; - /** @var string */ - private $result = ''; + private array $language; + private int $totalEntries = 0; + private int $passEntries = 0; + private string $result = ''; /** * @param array> $reference -- cgit v1.2.3