<?php

namespace Ccovey\RabbitMQ;

interface QueuedMessageInterface
{
    public function getQueueName() : string;
    public function getDeliveryTag() : string;
    public function getBody() : array;
    public function getRawBody() : string;
    public function fail();
    public function isFailed() : bool;
}

<?php

namespace Ccovey\RabbitMQ;

use Throwable;

interface QueuedMessageInterface
{
    public function getQueueName() : string;
    public function getDeliveryTag() : string;
    public function getBody() : array;
    public function getRawBody() : string;
    public function fail(Throwable $throwable = null);
    public function isFailed() : bool;
}

Add change in method signature to the interface also
Add change in method signature to the interface also
