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