original_string: protected function max(float $value1 = null, float $value2 = null) {
          $temp1 = $value1 ?: 0;
          $temp2 = $value2 ?: 0;
  
          $tempmax = max($temp1, $temp2);
  
          if (!$tempmax && $value1 !== 0 && $value2 !== 0) {
              $max = null;
          } else {
              $max = $tempmax;
          }
  
          return $max;
      }
code: protected function max(float $value1 = null, float $value2 = null) {
          $temp1 = $value1 ?: 0;
          $temp2 = $value2 ?: 0;
  
          $tempmax = max($temp1, $temp2);
  
          if (!$tempmax && $value1 !== 0 && $value2 !== 0) {
              $max = null;
          } else {
              $max = $tempmax;
          }
  
          return $max;
      }
code_tokens: protected function max ( float $ value1 = null , float $ value2 = null ) { $ temp1 = $ value1 ? : 0 ; $ temp2 = $ value2 ? : 0 ; $ tempmax = max ( $ temp1 , $ temp2 ) ; if ( ! $ tempmax && $ value1 !== 0 && $ value2 !== 0 ) { $ max = null ; } else { $ max = $ tempmax ; } return $ max ; }
docstring: Find higher value.
  A zero value is almost considered equal to zero in comparisons. The only difference is that when being compared to zero,
  zero is higher than null.
  
  @param float|null $value1
  @param float|null $value2
  @return float|null
docstring_tokens: Find higher value . A zero value is almost considered equal to zero in comparisons . The only difference is that when being compared to zero zero is higher than null .