poggit / libasynql

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

Return null instead of passing null to str_replace #61

Closed buchwasa closed 3 years ago

buchwasa commented 3 years ago

In PHP8, you cannot pass nulls where nulls aren't accepted, whereas PHP7 would just take it, this PR returns null rather than passing a null through to str_replace