code: public function setMaxResults(?int $maxResults)
      {
          $this->maxResults = $maxResults;
          $this->_maxResults = null !== $maxResults;
  
          return $this;
      }
docs: Set max results
  
  @param integer $maxResults
  @return object