public function getQueryData(): array
    {
        $data = [
            'initial' => 'true',
            'type' => 'all' !== $this->type ? $this->type : null,
            'content_type' => $this->contentType,
        ];

        return $data;
    }
public function getQueryData(): array
    {
        $data = [
            'initial' => 'true',
            'type' => 'all' !== $this->type ? $this->type : null,
            'content_type' => $this->contentType,
        ];

        return $data;
    }
Returns the parameters to execute this query.

@return array