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

Change LastHistory::$lastResponse default value #22

Merged
merged 1 commit into from
Mar 24, 2017
Merged

Conversation

Taluu
Copy link
Owner

@Taluu Taluu commented Mar 24, 2017

Otherwise, if an error occurs and the lastResponse is not filled and we try to access it via $history->getLastResponse(), php7 cries thanks to the typehint.

This fixes that.

@Taluu Taluu merged commit 308ecd2 into master Mar 24, 2017
@Taluu Taluu deleted the fix-default-value branch March 24, 2017 15:07
@Taluu Taluu modified the milestone: v1.0 Mar 31, 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.

1 participant