The expression $request->getData(); of type null|string|array 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 null|string|array 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.