original_string: public function fitHeight(&$source, $target, array $action)
      {
          $height = reset($action['value']);
  
          if ($this->image->set($source)->fitToHeight($height)->save($target)) {
              $source = $target;
              return true;
          }
  
          return false;
      }
code: public function fitHeight(&$source, $target, array $action)
      {
          $height = reset($action['value']);
  
          if ($this->image->set($source)->fitToHeight($height)->save($target)) {
              $source = $target;
              return true;
          }
  
          return false;
      }
code_tokens: public function fitHeight ( & $ source , $ target , array $ action ) { $ height = reset ( $ action [ 'value' ] ) ; if ( $ this -> image -> set ( $ source ) -> fitToHeight ( $ height ) -> save ( $ target ) ) { $ source = $ target ; return true ; } return false ; }
docstring: Fit to height
  @param string $source
  @param string $target
  @param array $action
  @return bool
docstring_tokens: Fit to height