The expression return parent::removeMes...tDeadQueueName($queue)) returns the type boolean which is incompatible with the documented return type integer.
Loading history...
33
$queue, self::getDeadQueueName($queue)
34
);
35
}
36
37
/**
38
* @param string $queue
39
* @return int
40
*
41
* @throws QueueWithoutConnectionException
42
*/
43
public static function countMessagesInQueue(string $queue)
44
{
45
return parent::countMessages(
46
$queue, self::getDeadQueueName($queue)
47
);
48
}
49
50
/**
51
* @param string $queue
52
* @param int $start
53
* @param int $end
54
* @return array
55
*
56
* @throws QueueWithoutConnectionException
57
*/
58
public static function getMessagesFromQueue(string $queue, int $start, int $end)