Skip to content
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

Error: Call to a member function resolveReferences() on array #119

Closed
garak opened this issue Jul 20, 2021 · 1 comment
Closed

Error: Call to a member function resolveReferences() on array #119

garak opened this issue Jul 20, 2021 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@garak
Copy link

garak commented Jul 20, 2021

Method resolverReferences is calling resolveReferences method on $referencedObject without checking if it's an array, resulting in the error mentioned in issue object.
The $referencedObject variable is suggested via phpdoc to be Response|Reference|null, but resolve method can return an array.

@oxoTHuk89
Copy link

Agree ++

@cebe cebe added this to the 1.6.0 milestone Feb 9, 2022
@cebe cebe added the bug Something isn't working label Feb 9, 2022
@cebe cebe closed this as completed in a02f958 Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants