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

Fix in SugarCasesConnection.php getCases() call of fromSugarCases() #31

Closed
wants to merge 1 commit into from

Conversation

muzy
Copy link

@muzy muzy commented Aug 4, 2018

SugarCase() expects two parameters but only one is given. It appears that supplying an empty array helps and makes AOP usable again. Still this needs to be revised to correctly add the required relationships.

SugarCase() expects two parameters but only one is given. It appears that supplying an empty array helps and makes AOP usable again. Still this needs to be revised to correctly add the required relationships.
@pgorod
Copy link

pgorod commented Nov 30, 2018

I believe #32 is the correct fix for this, so I suggest closing this one.

Both work, but that one is more correct technically. It mimics the default parameters of the method in the parent class. It's ok to pass an empty array because the method that will end up executing is ready for that.

Thanks

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

Successfully merging this pull request may close these issues.

3 participants