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
if ($allowed && $constructorParameter->isVariadic() && \array_key_exists($key, $data)) {
62
-
if (!\is_array($data[$paramName])) {
63
-
thrownewRuntimeException(sprintf('Cannot create an instance of %s from serialized data because the variadic parameter %s can only accept an array.', $class, $constructorParameter->name));
thrownewMissingConstructorArgumentsException(sprintf('Cannot create an instance of %s from serialized data because its constructor requires parameter "%s" to be present.', $class, $constructorParameter->name));
if ($allowed && $constructorParameter->isVariadic() && \array_key_exists($key, $data)) {
65
+
if (!\is_array($data[$paramName])) {
66
+
thrownewRuntimeException(sprintf('Cannot create an instance of %s from serialized data because the variadic parameter %s can only accept an array.', $class, $constructorParameter->name));
thrownewMissingConstructorArgumentsException(sprintf('Cannot create an instance of %s from serialized data because its constructor requires parameter "%s" to be present.', $class, $constructorParameter->name));
0 commit comments