From e9ded68fce4210c913d005495da71e3784ec591c Mon Sep 17 00:00:00 2001 From: Kei Date: Wed, 3 Jul 2024 17:54:48 +0700 Subject: [PATCH] fix `missingType.iterableValue` --- phpstan.neon.dist | 2 +- src/RuleSet/RuleSetInterface.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 66d5db1..5532b29 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -5,4 +5,4 @@ parameters: tmpDir: .tmp/PHPStan treatPhpDocTypesAsCertain: false ignoreErrors: - - identifier: missingType.iterableValue + # - identifier: missingType.iterableValue diff --git a/src/RuleSet/RuleSetInterface.php b/src/RuleSet/RuleSetInterface.php index 106d736..bd880e8 100644 --- a/src/RuleSet/RuleSetInterface.php +++ b/src/RuleSet/RuleSetInterface.php @@ -11,6 +11,8 @@ public function name(): string; /** * Returns an array of rules along with their configuration + * + * @return array|bool> */ public function rules(): array; }