code: public function getQueryData(): array
      {
          $data = [
              'initial' => 'true',
              'type' => 'all' !== $this->type ? $this->type : null,
              'content_type' => $this->contentType,
          ];
  
          return $data;
      }
docs: Returns the parameters to execute this query.
  
  @return array