src/Drivers/Beanstalkd.php
public function pop($queue)
    {
        $job = $this->pheanstalk->watchOnly($queue)->reserve(0);

        if ($job instanceof PheanstalkJob) {
            return new BeanstalkdJob($this->pheanstalk, $job, $queue);
        }

        return null;
    }
public function pop($queue)
    {
        $job = $this->pheanstalk->watchOnly($queue)->reserve(0);

        if ($job instanceof PheanstalkJob) {
            return new BeanstalkdJob($this->pheanstalk, $job, $queue);
        }

        return null;
    }
@param $queue

@return null|\Tree6bee\Queue\Drivers\Jobs\JobInterface