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
thrownewInvalidArgumentException(sprintf('Data expected to be a string, "%s" given.', get_debug_type($data)));
79
+
throwNotNormalizableValueException::createForUnexpectedDataType('Data expected to be a string.', $data, [Type::BUILTIN_TYPE_STRING], $context['deserialization_path'] ?? null, true);
80
80
}
81
81
82
82
if (!$this->isISO8601($data)) {
83
-
thrownewUnexpectedValueException('Expected a valid ISO 8601 interval string.');
83
+
throwNotNormalizableValueException::createForUnexpectedDataType('Expected a valid ISO 8601 interval string.', $data, [Type::BUILTIN_TYPE_STRING], $context['deserialization_path'] ?? null, true);
0 commit comments