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
Copy file name to clipboardExpand all lines: src/LiveComponent/src/LiveComponentHydrator.php
+2-19Lines changed: 2 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -355,7 +355,7 @@ private function dehydrateValue(mixed $value, LivePropMetadata $propMetadata, ob
355
355
356
356
if ($propMetadata->useSerializerForHydration()) {
357
357
if (!interface_exists(NormalizerInterface::class)) {
358
-
thrownew \LogicException(sprintf('The LiveProp "%s" on component "%s" is using the serializer to hydrate, but the Serializer component is not installed. Try running "composer require symfony/serializer".', $propMetadata->getName(), $parentObject::class));
358
+
thrownew \LogicException(sprintf('The LiveProp "%s" on component "%s" has "useSerializerForHydration: true", but the Serializer component is not installed. Try running "composer require symfony/serializer".', $propMetadata->getName(), $parentObject::class));
@@ -436,7 +436,7 @@ private function hydrateValue(mixed $value, LivePropMetadata $propMetadata, obje
436
436
437
437
if ($propMetadata->useSerializerForHydration()) {
438
438
if (!interface_exists(DenormalizerInterface::class)) {
439
-
thrownew \LogicException(sprintf('The LiveProp "%s" on component "%s" is using the serializer to hydrate, but the Serializer component is not installed. Try running "composer require symfony/serializer".', $propMetadata->getName(), $parentObject::class));
439
+
thrownew \LogicException(sprintf('The LiveProp "%s" on component "%s" has "useSerializerForHydration: true", but the Serializer component is not installed. Try running "composer require symfony/serializer".', $propMetadata->getName(), $parentObject::class));
0 commit comments