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