code: public function offsetGet($jid)
      {
          $data = $this->client->get($jid);
  
          if (empty($data)) {
              $data = $this->client->call('recur.get', $jid);
              if (empty($data)) {
                  return null;
              }
  
              $job = new RecurringJob($this->client, json_decode($data, true));
          } else {
              $job = new BaseJob($this->client, json_decode($data, true));
          }
  
          $job->setEventsManager($this->client->getEventsManager());
  
          return $job;
      }
docs: {@inheritdoc}
  
  @param  string $jid
  @return BaseJob|RecurringJob|null
  
  @throws QlessException