original_string: private static function _convertParameters(&$params)
      {
          $res = [];
  
          foreach ($params as $param => $substitutions) {
              $res["$param"] = [];
              foreach ($substitutions as $key => $value) {
                  $res["$param"]["$key"] = "$value";
              }
          }
  
          return $res;
      }
code: private static function _convertParameters(&$params)
      {
          $res = [];
  
          foreach ($params as $param => $substitutions) {
              $res["$param"] = [];
              foreach ($substitutions as $key => $value) {
                  $res["$param"]["$key"] = "$value";
              }
          }
  
          return $res;
      }
code_tokens: private static function _convertParameters ( & $ params ) { $ res = [ ] ; foreach ( $ params as $ param => $ substitutions ) { $ res [ "$param" ] = [ ] ; foreach ( $ substitutions as $ key => $ value ) { $ res [ "$param" ] [ "$key" ] = "$value" ; } } return $ res ; }
docstring: Converts an object describing parameter mappings to associative
  arrays.
  
  We want an associative array but since `json_decode` produces
  an object whose fields correspond to the substitutions we need
  to do a bit of conversion.
  
  @param object $params the parameter mapping object
  
  @return array the parameter mappings
docstring_tokens: Converts an object describing parameter mappings to associative arrays .