Model/JobManager.php
public function findByTicket($ticket)
    {
        $jobs = $this->findBy(array('ticket' => $ticket));

        return count($jobs) > 0 ? $jobs[0] : null;
    }
public function findByTicket($ticket)
    {
        $jobs = $this->findBy(array('ticket' => $ticket));

        return count($jobs) > 0 ? $jobs[0] : null;
    }
{@inheritDoc}