phpforce/soap-client

Deprecation notices with PHP 8.1

Opened this issue · 0 comments

Using the package with PHP 8.1 emits deprecation notices (this and few other ones):

Deprecated function: Return type of Phpforce\SoapClient\Result\RecordIterator::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 15 of /var/www/html/vendor/phpforce/soap-client/src/Phpforce/SoapClient/Result/RecordIterator.php)