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

fixed exception for strict_types #1222

Merged
merged 1 commit into from Jun 30, 2020

Conversation

ivoba
Copy link
Contributor

@ivoba ivoba commented Jun 30, 2020

Q A
Bug fix? yes
New feature? no
Doc updated no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #...
License MIT

When using declare(strict_types=1); null will not work in RuntimeException constructor and will result in this error:

Wrong parameters for JMS\Serializer\Exception\RuntimeException([string $message [, long $code [, Throwable $previous = NULL]]])

@goetas goetas merged commit 5c64da6 into schmittjoh:master Jun 30, 2020
@goetas
Copy link
Collaborator

goetas commented Jun 30, 2020

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.

None yet

2 participants