code: public function heartbeat(array $data = []): float
      {
          try {
              $this->expires = $this->client->heartbeat(
                  $this->jid,
                  $this->worker,
                  json_encode($data, JSON_UNESCAPED_SLASHES)
              );
          } catch (QlessException $e) {
              throw new LostLockException($e->getMessage(), 'Heartbeat', $this->jid, $e->getCode(), $e);
          }
  
          return $this->expires;
      }
docs: Set the timestamp of the new heartbeat.
  
  @param  array $data
  @return float
  
  @throws LostLockException