crisp-im / php-crisp-api

:elephant: Crisp API PHP Wrapper
https://docs.crisp.chat/guides/rest-api/
MIT License
56 stars 28 forks source link

PHP 8.1 Error while calling findWithSearch() #38

Open CaMer0n opened 1 year ago

CaMer0n commented 1 year ago
http_build_query(): Passing null to parameter #2 ($numeric_prefix) of type string is deprecated at crisp\vendor\crispchat\php-crisp-api\src\Resources\Resource.php:19```

function prepareQuery($query) :

Just need to change null to "" on line 19.

SnithfferxDS commented 9 months ago

Thanks for the correction. @CaMer0n I have had this warning recently.