Answers for "Jtl\Connector\Core\Http\JsonResponse::prepareAndSend() must be an instance of Jtl\Connector\Core\Rpc\ResponsePacket, null given,"

0

Jtl\Connector\Core\Http\JsonResponse::prepareAndSend() must be an instance of Jtl\Connector\Core\Rpc\ResponsePacket, null given,

// src/Controller/Product.php
namespace Acme\Connector\AcmeShop\Controller;

use Jtl\Connector\Core\Controller;
use Jtl\Connector\Core\Model\AbstractDataModel;

class Product implements PushInterface
{
    public function push(AbstractDataModel $model) : AbstractDataModel;
    {
        return $model;
    }
}
Posted by: Guest on April-10-2021

Code answers related to "Jtl\Connector\Core\Http\JsonResponse::prepareAndSend() must be an instance of Jtl\Connector\Core\Rpc\ResponsePacket, null given,"

Browse Popular Code Answers by Language