src/Payload/FailedPayload.php
function withData($data)
    {
        $n = clone $this;
        $qPayload = clone $this->qPayloadWrapper;
        $qPayload = $qPayload->withData($data);
        $n->qPayloadWrapper = $qPayload;
        return $n;
    }
function withData($data)
    {
        $n = clone $this;
        $qPayload = clone $this->qPayloadWrapper;
        $qPayload = $qPayload->withData($data);
        $n->qPayloadWrapper = $qPayload;
        return $n;
    }
With Given Payload

@param mixed $data Serializable payload

@return $this