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

Throwing exceptions without message throws PHP fatal errors #8

Merged
merged 2 commits into from
Apr 25, 2017

Conversation

burnhamrobertp
Copy link
Contributor

Addresses the following error I was experiencing:

Fatal error: Uncaught ArgumentCountError: Too few arguments to function SurveyGizmo\Helpers\SurveyGizmoException::__construct(), 1 passed in

ArgumentCountError: Too few arguments to function SurveyGizmo\Helpers\SurveyGizmoException::__construct(), 1 passed in

image

Also fixes the signature of the SurveyGizmoException such that it matches \Exception, which it extends.

@SurveyGizmoOfficial SurveyGizmoOfficial merged commit 1deac40 into SurveyGizmoOfficial:master Apr 25, 2017
@SurveyGizmoOfficial
Copy link
Owner

Thank you for the updates and contributions, merged!

SurveyGizmoOfficial added a commit that referenced this pull request Sep 11, 2018
Throwing exceptions without message throws PHP fatal errors
SurveyGizmoOfficial added a commit that referenced this pull request Sep 11, 2018
Throwing exceptions without message throws PHP fatal errors
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

2 participants