You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewInvalidOptionsException(sprintf('The option "%s" has the value %s, but is expected to be one of %s', $option, $this->createPrintableValue($options[$option]), $allowedValuesPrintable));
304
+
thrownewInvalidOptionsException(sprintf('The option "%s" has the value %s, but is expected to be one of %s', $option, $this->formatValue($options[$option]), $this->formatValues($allowedValues)));
306
305
}
307
306
308
307
if (is_callable($allowedValues) && !call_user_func($allowedValues, $options[$option])) {
309
-
thrownewInvalidOptionsException(sprintf('The option "%s" has the value %s, which is not valid', $option, $this->createPrintableValue($options[$option])));
308
+
thrownewInvalidOptionsException(sprintf('The option "%s" has the value %s, which is not valid', $option, $this->formatValue($options[$option])));
310
309
}
311
310
}
312
311
}
@@ -341,65 +340,94 @@ private function validateOptionTypes(array $options)
0 commit comments