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

[5.7] Bug fix for app()->call() #26852

Merged
merged 12 commits into from
Dec 17, 2018
Merged

[5.7] Bug fix for app()->call() #26852

merged 12 commits into from
Dec 17, 2018

Conversation

imanghafoori1
Copy link
Contributor

@imanghafoori1 imanghafoori1 commented Dec 14, 2018

Bug fix for app()->call('class@method', ['x1' , 'x2', ... ]);

fixes:
#26851
#22687
#26837

The problem is described clearly on the issue and this PR will simply fix it.
And adds unit tests for it.

Let me mention this #22709 PR which has tried to solve the same issue.

Bug fix for app()->call('class@method');

fixes:
#22687
@imanghafoori1 imanghafoori1 reopened this Dec 14, 2018
@imanghafoori1 imanghafoori1 changed the title Bug fix for app()->call() [5.7] [Bug fix] for app()->call() Dec 14, 2018
@imanghafoori1 imanghafoori1 changed the title [5.7] [Bug fix] for app()->call() [5.7] Bug fix for app()->call() Dec 14, 2018
@imanghafoori1
Copy link
Contributor Author

I think this PR it is ready.
All tests are added and they are passing.

@imanghafoori1
Copy link
Contributor Author

I am not sure whether tests for associative array method call syntax are necessary or not. but I jut added them to be really sure.

@taylorotwell taylorotwell merged commit 881be81 into laravel:5.7 Dec 17, 2018
@Chrisx84

This comment has been minimized.

@taylorotwell
Copy link
Member

Reverting. Do not send any more PRs for this "feature".

@imanghafoori1
Copy link
Contributor Author

Sorry for that

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.

None yet

3 participants