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

Fix phpstan return type #1329

Merged
merged 2 commits into from
Oct 13, 2021
Merged

Fix phpstan return type #1329

merged 2 commits into from
Oct 13, 2021

Conversation

dgafka
Copy link
Contributor

@dgafka dgafka commented Jul 23, 2021

The current phpstan generic template allows only for class to be deserialized.
However that's not the case, when we are deserializing array of classes.

This will work now: array<Product>

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

@dgafka
Copy link
Contributor Author

dgafka commented Jul 23, 2021

@goetas can I kindly ask you for releasing this bug fix? Tests in my work currently failing due to this issue 😃

@goetas goetas merged commit 3f9db63 into schmittjoh:master Oct 13, 2021
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