Skip to content

Commit 28e3b39

Browse files
author
matheo
committed
edit error message
1 parent 30d4fdb commit 28e3b39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LiveComponent/src/LiveComponentHydrator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ private function hydrateObjectValue(mixed $value, string $className, bool $allow
488488
return $object;
489489
}
490490

491-
throw new HydrationException(sprintf('Unable to hydrate value of type "%s" for property "%s" on component "%s". Change this to a simpler value, add the hydrateWith/dehydrateWith options to LiveProp or set "useSerializerForHydration: true" on the LiveProp to use the serializer..', $className, $propertyPathForError, $componentClassForError));
491+
throw new HydrationException(sprintf('Unable to hydrate value of type "%s" for property "%s" on component "%s". it looks like something went wrong by trying to guess your property types.', $className, $propertyPathForError, $componentClassForError));
492492
}
493493

494494
private function isValueValidDehydratedValue(mixed $value): bool

0 commit comments

Comments
 (0)