original_string: public function arrayKeyValueFunc($key, $val, $current_array = null)
      {
          if (empty($current_array)) {
              return array($key => $val);
          }
  
          $current_array[$key] = $val;
  
          return $current_array;
      }
code: public function arrayKeyValueFunc($key, $val, $current_array = null)
      {
          if (empty($current_array)) {
              return array($key => $val);
          }
  
          $current_array[$key] = $val;
  
          return $current_array;
      }
code_tokens: public function arrayKeyValueFunc ( $ key , $ val , $ current_array = null ) { if ( empty ( $ current_array ) ) { return array ( $ key => $ val ) ; } $ current_array [ $ key ] = $ val ; return $ current_array ; }
docstring: Workaround for twig associative array initialization
  Returns a key => val array
  
  @param string $key           key of item
  @param string $val           value of item
  @param array  $current_array optional array to add to
  
  @return array
docstring_tokens: Workaround for twig associative array initialization Returns a key = > val array