10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d07204 commit 379de0dCopy full SHA for 379de0d
src/Symfony/Component/OptionsResolver/OptionsResolver.php
@@ -803,17 +803,12 @@ public function offsetGet($option)
803
}
804
805
if (!$valid) {
806
- $message = 'The option "%s" with value %s is expected to be of type "%s"';
807
-
808
- $message .= ', but is of type "%s".';
809
- $types = implode('|', array_unique($invalidTypes));
810
811
throw new InvalidOptionsException(sprintf(
812
- $message,
+ 'The option "%s" with value %s is expected to be of type "%s"',
813
$option,
814
$this->formatValue($value),
815
implode('" or "', $this->allowedTypes[$option]),
816
- $types
+ implode('|', array_unique($invalidTypes))
817
));
818
819
0 commit comments