sdk-for-php
sdk-for-php copied to clipboard
🐛 Bug Report: PHP 8.3 Return type of Query::jsonSerialize() must be compatible with JsonSerializable::jsonSerialize(): mixed
trafficstars
👟 Reproduction steps
Using Querys with php8.3
👍 Expected behavior
Should not trigger a fatal error.
👎 Actual Behavior
Fatal error: During inheritance of JsonSerializable: Uncaught ErrorException: Return type of Appwrite\Query::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in vendor/appwrite/appwrite/src/Appwrite/Query.php:29
🎲 Appwrite version
Version 0.10.x
💻 Operating system
Linux
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
- [x] I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- [X] I have read the Code of Conduct
https://github.com/appwrite/sdk-generator/pull/869