We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7bf1e0 commit d62ec03Copy full SHA for d62ec03
src/Symfony/MessageMapFactory.php
@@ -122,12 +122,14 @@ private function guessHandledMessages(ClassReflection $reflectionClass): iterabl
122
}
123
124
/**
125
+ * @param mixed $index
126
+ * @param mixed $value
127
* @phpstan-assert-if-true class-string $index
128
* @phpstan-assert-if-true array<string, mixed> $value
129
* @phpstan-assert-if-false int $index
130
* @phpstan-assert-if-false class-string $value
131
*/
- private static function containOptions(mixed $index, mixed $value): bool
132
+ private static function containOptions($index, $value): bool
133
{
134
if (is_string($index) && class_exists($index) && is_array($value)) {
135
return true;
0 commit comments