original_string: public function formatPercentEvolution($value)
      {
          $isPositiveEvolution = !empty($value) && ($value > 0 || $value[0] == '+');
  
          $formatted = self::formatPercent($value);
  
          if ($isPositiveEvolution) {
              // $this->symbols has already been initialized from formatPercent().
              $language = $this->translator->getCurrentLanguage();
              return $this->symbols[$language]['+'] . $formatted;
          }
          return $formatted;
      }
code: public function formatPercentEvolution($value)
      {
          $isPositiveEvolution = !empty($value) && ($value > 0 || $value[0] == '+');
  
          $formatted = self::formatPercent($value);
  
          if ($isPositiveEvolution) {
              // $this->symbols has already been initialized from formatPercent().
              $language = $this->translator->getCurrentLanguage();
              return $this->symbols[$language]['+'] . $formatted;
          }
          return $formatted;
      }
code_tokens: public function formatPercentEvolution ( $ value ) { $ isPositiveEvolution = ! empty ( $ value ) && ( $ value > 0 || $ value [ 0 ] == '+' ) ; $ formatted = self :: formatPercent ( $ value ) ; if ( $ isPositiveEvolution ) { // $this->symbols has already been initialized from formatPercent(). $ language = $ this -> translator -> getCurrentLanguage ( ) ; return $ this -> symbols [ $ language ] [ '+' ] . $ formatted ; } return $ formatted ; }
docstring: Formats given number as percent value, but keep the leading + sign if found
  
  @param $value
  @return string
docstring_tokens: Formats given number as percent value but keep the leading + sign if found