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
sprintf('Failed to create object because the class "%s" is not instantiable.', $class),
464
-
$data,
465
-
['unknown'],
466
-
$context['deserialization_path'] ?? null
467
-
);
457
+
throw NotNormalizableValueException::createForUnexpectedDataType(sprintf('Failed to create object because the class "%s" is not instantiable.', $class), $data, ['unknown'], $context['deserialization_path'] ?? null);
468
458
}
469
459
470
460
returnnew$class();
@@ -540,10 +530,7 @@ final protected function validateCallbackContext(array $context, string $context
540
530
/**
541
531
* Apply callbacks set in context.
542
532
*
543
-
* @param mixed $value
544
533
* @param object|string $object Can be either the object being normalizing or the object's class being denormalized
0 commit comments