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

Fixed return type of OrderRepository::getList #8683

Merged
merged 1 commit into from
Feb 28, 2017

Conversation

clementbeudot
Copy link
Contributor

@clementbeudot clementbeudot commented Feb 26, 2017

as it is the $searchResult variable that is returned, we do not retrieve an array of OrderInterface.
You cannot iterate on what is returning the getList method, you need to ->getItems first.

@okorshenko okorshenko self-assigned this Feb 26, 2017
@okorshenko okorshenko added this to the February 2017 milestone Feb 26, 2017
@magento-team magento-team merged commit 45d3f29 into magento:develop Feb 28, 2017
@vrann vrann added simple and removed simple labels Mar 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants