poggit / libasynql

Asynchronous MySQL access library for PocketMine plugins.
https://poggit.github.io/libasynql
Apache License 2.0
132 stars 44 forks source link

Fixed PHP 8.1 error #91

Closed supercrafter333 closed 1 year ago

supercrafter333 commented 1 year ago

PHP 8.1 will throw an exception if jsonSerialize() don't have a return-type. This PR fixes this.

Endermanbugzjfc commented 1 year ago

Classic PHP.

SOF3 commented 1 year ago

maybe deja vu but i remember merging something that fixes this before...