-
Notifications
You must be signed in to change notification settings - Fork 200
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 #336 add symfony/serializer 6 support #367
base: 7.2
Are you sure you want to change the base?
Conversation
@gep hi! Do you mind to review the PR? Thank you |
I already reviewed. Thanks |
Oh, @gep sorry for inconvenience, thought that you are the developer of the package |
@84m hi! Could you review changes of the PR? Thanks |
@@ -27,7 +27,7 @@ class AggregationsEndpoint extends AbstractSearchEndpoint | |||
/** | |||
* {@inheritdoc} | |||
*/ | |||
public function normalize(NormalizerInterface $normalizer, string $format = null, array $context = []) | |||
public function normalize(NormalizerInterface $normalizer, string $format = null, array $context = []): array|string|int|float|bool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Union return types are from php 8 and in composer we declare that php 7.4 is supported.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's time to remove 7.4 as it's no longer supported :(
https://www.php.net/supported-versions.php
Or we can return nothing in this function
Any update on when this will get merged? I've hardcoded this pull request so long into my composer. |
You can use fork with updated PHP and serializer https://github.com/bistrosk/elasticsearch-dsl. |
No description provided.