UseMuffin/Webservice

Method signature causing Fatal Error (cake-4.x)

Fooriva opened this issue · 0 comments

Hello,

I am new to using your package, and I want to share the following issue on one of your dev branches.
The class Muffin\Webservice\Datasource\Query is causing the following Fatal Error, as the method signature is not compliant with the one in CakePHP's QueryTrait :

Declaration of Muffin\Webservice\Datasource\Query::_execute() must be compatible with Cake\Datasource\QueryTrait::_execute(): Cake\Datasource\ResultSetInterface in /var/www/html/vendor/muffin/webservice/src/Datasource/Query.php on line 549

This error occured on branch cake-4.x, as I am using CakePHP 4.2.

Best regards and thanks for your work on this package !