aboutsummaryrefslogtreecommitdiff
path: root/cli/i18n/I18nValidatorInterface.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2023-03-31 08:23:39 +0200
committerGravatar GitHub <noreply@github.com> 2023-03-31 08:23:39 +0200
commit288ed04ccc30b58373576dc3be811aee43e67034 (patch)
tree27f4c571e04d64c97737416dfa2b8d65f481dfd8 /cli/i18n/I18nValidatorInterface.php
parentc9d5fe2da12cbc3a071ebf9a518afe2789bb3d61 (diff)
PHPStan level 6 for all PDO and Exception classes (#5239)
* PHPStan level 6 for all PDO and Exception classes Contributes to https://github.com/FreshRSS/FreshRSS/issues/4112 * Fix type * Now also our remaining own librairies * Motivation for a few more files * A few more DAO classes * Last interface
Diffstat (limited to 'cli/i18n/I18nValidatorInterface.php')
-rw-r--r--cli/i18n/I18nValidatorInterface.php13
1 files changed, 3 insertions, 10 deletions
diff --git a/cli/i18n/I18nValidatorInterface.php b/cli/i18n/I18nValidatorInterface.php
index d5681912b..e6f5f7cdd 100644
--- a/cli/i18n/I18nValidatorInterface.php
+++ b/cli/i18n/I18nValidatorInterface.php
@@ -5,21 +5,14 @@ interface I18nValidatorInterface {
/**
* Display the validation result.
* Empty if there are no errors.
- *
- * @return array
*/
- public function displayResult();
+ public function displayResult(): string;
- /**
- * @return bool
- */
- public function validate();
+ public function validate(): bool;
/**
* Display the validation report.
- *
- * @return string
*/
- public function displayReport();
+ public function displayReport(): string;
}