original_string: public function resize($width = null, $height = null)
      {
          $this->styleAttributes['width'] = $width . 'px';
          $this->styleAttributes['height'] = $height . 'px';
  
          return $this;
      }
code: public function resize($width = null, $height = null)
      {
          $this->styleAttributes['width'] = $width . 'px';
          $this->styleAttributes['height'] = $height . 'px';
  
          return $this;
      }
code_tokens: public function resize ( $ width = null , $ height = null ) { $ this -> styleAttributes [ 'width' ] = $ width . 'px' ; $ this -> styleAttributes [ 'height' ] = $ height . 'px' ; return $ this ; }
docstring: Resize media by setting attributes
  
  @param  int $width
  @param  int $height
  @return $this
docstring_tokens: Resize media by setting attributes