original_string: public function execute($image)
      {
          $width = $this->argument(0)->value();
          $height = $this->argument(1)->value();
          $constraints = $this->argument(2)->type('closure')->value();
  
          // resize box
          $resized = $image->getSize()->resize($width, $height, $constraints);
  
          // modify image
          $this->modify($image, 0, 0, 0, 0, $resized->getWidth(), $resized->getHeight(), $image->getWidth(), $image->getHeight());
  
          return true;
      }
code: public function execute($image)
      {
          $width = $this->argument(0)->value();
          $height = $this->argument(1)->value();
          $constraints = $this->argument(2)->type('closure')->value();
  
          // resize box
          $resized = $image->getSize()->resize($width, $height, $constraints);
  
          // modify image
          $this->modify($image, 0, 0, 0, 0, $resized->getWidth(), $resized->getHeight(), $image->getWidth(), $image->getHeight());
  
          return true;
      }
code_tokens: public function execute ( $ image ) { $ width = $ this -> argument ( 0 ) -> value ( ) ; $ height = $ this -> argument ( 1 ) -> value ( ) ; $ constraints = $ this -> argument ( 2 ) -> type ( 'closure' ) -> value ( ) ; // resize box $ resized = $ image -> getSize ( ) -> resize ( $ width , $ height , $ constraints ) ; // modify image $ this -> modify ( $ image , 0 , 0 , 0 , 0 , $ resized -> getWidth ( ) , $ resized -> getHeight ( ) , $ image -> getWidth ( ) , $ image -> getHeight ( ) ) ; return true ; }
docstring: Resizes image dimensions
  
  @param  \Intervention\Image\Image $image
  @return boolean
docstring_tokens: Resizes image dimensions