src/Camunda/Query/Attribute/MaxResults.php
public function setMaxResults(?int $maxResults)
    {
        $this->maxResults = $maxResults;
        $this->_maxResults = null !== $maxResults;

        return $this;
    }
public function setMaxResults(?int $maxResults)
    {
        $this->maxResults = $maxResults;
        $this->_maxResults = null !== $maxResults;

        return $this;
    }
Set max results

@param integer $maxResults
@return object