Issues (9)

src/Jobs/RabbitMQJob.php (1 issue)

Severity
1
<?php
2
3
namespace Noitran\Lumen\Horizon\Jobs;
4
5
use VladimirYuldashev\LaravelQueueRabbitMQ\Queue\Jobs\RabbitMQJob as BaseJob;
6
7
class RabbitMQJob extends BaseJob
8
{
9
    /**
10
     * {@inheritdoc}
11
     */
12
    public function delete(): void
13
    {
14
        parent::delete();
15
16
        $this->connection->deleteReserved($this->queue, $this);
0 ignored issues
show
The method deleteReserved() does not exist on VladimirYuldashev\Larave...tMQ\Queue\RabbitMQQueue. Are you sure you never get this type here, but always one of the subclasses? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

16
        $this->connection->/** @scrutinizer ignore-call */ 
17
                           deleteReserved($this->queue, $this);
Loading history...
17
    }
18
}
19