The expression $request->getData(); of type array|string|null adds the type string to the return on line 32 which is incompatible with the return type declared by the abstract method CakeDC\Api\Service\Reque...r\BaseParser::getParams of type array.
The expression $request->getQuery(); of type array|string|null adds the type string to the return on line 35 which is incompatible with the return type declared by the abstract method CakeDC\Api\Service\Reque...r\BaseParser::getParams of type array.