original_string: public function setLength($length)
      {
          if (($length !== null) && (!is_int($length) || ($length <= 0))) {
              throw SchemaException::invalidColumnLength($this->getName());
          }
  
          $this->length = $length;
      }
code: public function setLength($length)
      {
          if (($length !== null) && (!is_int($length) || ($length <= 0))) {
              throw SchemaException::invalidColumnLength($this->getName());
          }
  
          $this->length = $length;
      }
code_tokens: public function setLength ( $ length ) { if ( ( $ length !== null ) && ( ! is_int ( $ length ) || ( $ length <= 0 ) ) ) { throw SchemaException :: invalidColumnLength ( $ this -> getName ( ) ) ; } $ this -> length = $ length ; }
docstring: Sets the column length.
  
  @param integer|null $length The column length.
  
  @throws \Fridge\DBAL\Exception\SchemaException If the length is not a positive integer.
docstring_tokens: Sets the column length .