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 ($reflectionTypeinstanceof \ReflectionUnionType || $reflectionTypeinstanceof \ReflectionIntersectionType) {
124
+
thrownew \LogicException(\sprintf('Union or intersection types are not supported for LiveProps. You may want to change the type of property %s in %s.', $property->getName(), $property->getDeclaringClass()->getName()));
125
+
}
119
126
120
-
if ($typeinstanceof UnionType && !$typeinstanceof NullableType || $typeinstanceof IntersectionType) {
121
-
thrownew \LogicException(\sprintf('Union or intersection types are not supported for LiveProps. You may want to change the type of property "%s" in "%s".', $propertyName, $className));
0 commit comments