Skip to content

Contact::getCustomDetails() is unusable #199

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
gronostajo opened this issue Jun 21, 2022 · 1 comment
Closed

Contact::getCustomDetails() is unusable #199

gronostajo opened this issue Jun 21, 2022 · 1 comment

Comments

@gronostajo
Copy link
Contributor

The method is declared to return array, but tries to return \stdClass and crashes.

Workaround:

$customDetails = (fn () => $this->customDetails)->call($contact);
@CoolGoose
Copy link
Contributor

This is now merged, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants