original_string: public function setHeight($height) {
          if (!is_numeric($height) || $height <= 0) {
              return;
          }
          if ($height > self::MAX_HEIGHT) {
              $this->_height = self::MAX_HEIGHT;
          } else {
              $this->_height = (int)$height;
          }
      }
code: public function setHeight($height) {
          if (!is_numeric($height) || $height <= 0) {
              return;
          }
          if ($height > self::MAX_HEIGHT) {
              $this->_height = self::MAX_HEIGHT;
          } else {
              $this->_height = (int)$height;
          }
      }
code_tokens: public function setHeight ( $ height ) { if ( ! is_numeric ( $ height ) || $ height <= 0 ) { return ; } if ( $ height > self :: MAX_HEIGHT ) { $ this -> _height = self :: MAX_HEIGHT ; } else { $ this -> _height = ( int ) $ height ; } }
docstring: Sets the height of the sparkline
  @param int $height
docstring_tokens: Sets the height of the sparkline