original_string: protected function resolveOperationName(string $operation, bool $multiple = true): string
      {
          if (! $multiple) {
              return $operation;
          } elseif (\in_array($operation, ['fill', 'add'])) {
              return 'attach';
          }
  
          return 'detach';
      }
code: protected function resolveOperationName(string $operation, bool $multiple = true): string
      {
          if (! $multiple) {
              return $operation;
          } elseif (\in_array($operation, ['fill', 'add'])) {
              return 'attach';
          }
  
          return 'detach';
      }
code_tokens: protected function resolveOperationName ( string $ operation , bool $ multiple = true ) : string { if ( ! $ multiple ) { return $ operation ; } elseif ( \ in_array ( $ operation , [ 'fill' , 'add' ] ) ) { return 'attach' ; } return 'detach' ; }
docstring: Dynamically resolve operation name especially when multiple
  operation was used.
  
  @param  string  $operation
  @param  bool    $multiple
  
  @return string
docstring_tokens: Dynamically resolve operation name especially when multiple operation was used .