Skip to content

Fix jsonSerialize on PHP 8.1+ #71

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

Merged
merged 2 commits into from
Aug 24, 2022
Merged

Fix jsonSerialize on PHP 8.1+ #71

merged 2 commits into from
Aug 24, 2022

Conversation

BafS
Copy link
Contributor

@BafS BafS commented Aug 19, 2022

During inheritance of JsonSerializable: Uncaught ErrorException: Return type of FlixTech\SchemaRegistryApi\Schema\AvroReference::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

BafS added 2 commits August 19, 2022 09:44
```
During inheritance of JsonSerializable: Uncaught ErrorException: Return type of FlixTech\SchemaRegistryApi\Schema\AvroReference::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
```
@tPl0ch tPl0ch merged commit 8981711 into flix-tech:master Aug 24, 2022
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