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.4] fixing weird behaviour of Connection method #18356

Merged
merged 2 commits into from
Mar 15, 2017
Merged

[5.4] fixing weird behaviour of Connection method #18356

merged 2 commits into from
Mar 15, 2017

Conversation

vikkio88
Copy link
Contributor

@vikkio88 vikkio88 commented Mar 15, 2017

The method getConfig() of connection class was working weirdly if you did pass null, you could still get the $this->config array, but some warnings would be thrown.
I add a default parameter and a check to avoid the error to be thrown.

PR added after speaking on twitter with @taylorotwell, was an honour sir 😄

vikkio88 and others added 2 commits March 15, 2017 18:50
implementing fix proposed on the issue
@taylorotwell taylorotwell merged commit fad0fa9 into laravel:5.4 Mar 15, 2017
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.

2 participants