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
Apparently, to be able to make properties writeable, you must combine the object shape with stdclass (ref : phpstan/phpstan#10079)
However, it is not supported
Could not parse the type `\stdClass&object{info: string}` that should be mapped: Invalid intersection member `object`, it must be a class name or an interface name
(new \CuyZ\Valinor\MapperBuilder())
->allowSuperfluousKeys()
->allowPermissiveTypes()
->mapper()
->map(
'\stdClass&object{info: string}',
\CuyZ\Valinor\Mapper\Source\Source::json($string),
);
The text was updated successfully, but these errors were encountered:
Apparently, to be able to make properties writeable, you must combine the object shape with stdclass (ref : phpstan/phpstan#10079)
However, it is not supported
The text was updated successfully, but these errors were encountered: