original_string: public function fitToWidth($width)
      {
          $height = $width * ($this->height / $this->width);
          return $this->resize($width, $height);
      }
code: public function fitToWidth($width)
      {
          $height = $width * ($this->height / $this->width);
          return $this->resize($width, $height);
      }
code_tokens: public function fitToWidth ( $ width ) { $ height = $ width * ( $ this -> height / $ this -> width ) ; return $ this -> resize ( $ width , $ height ) ; }
docstring: Proportionally resize to the specified width
  @param int $width
  @return $this
docstring_tokens: Proportionally resize to the specified width