original_string: public function setDefaultLimit(int $limit): void
      {
          if ($limit < 1) {
              throw new GridException('Wrong default limit value, should be greater than zero');
          }
          $this->setLimit($limit);
  
          $this->defaultLimit = $limit;
      }
code: public function setDefaultLimit(int $limit): void
      {
          if ($limit < 1) {
              throw new GridException('Wrong default limit value, should be greater than zero');
          }
          $this->setLimit($limit);
  
          $this->defaultLimit = $limit;
      }
code_tokens: public function setDefaultLimit ( int $ limit ) : void { if ( $ limit < 1 ) { throw new GridException ( 'Wrong default limit value, should be greater than zero' ) ; } $ this -> setLimit ( $ limit ) ; $ this -> defaultLimit = $ limit ; }
docstring: Set default limit
  
  @param  integer $limit
  
  @return void
  @throws GridException
docstring_tokens: Set default limit