mdref.json config
[mdref/mdref-http] / http / Env / negotiateEncoding.md
index 4c070b709ab527a3c0b4597da4f1542c8df98f02..e55213b4a5d974e94ea8d8da0f5a3e5ea9a07f6c 100644 (file)
@@ -1,17 +1,18 @@
-# static string http\Env::negotiateEncoding(array $supported[, array &$result)
+# static string http\Env::negotiateEncoding(array $supported[, array &$result])
 
 Negotiate the client's preferred encoding.
 
-> ***NOTE:*** The first elemement of $supported encodings serves as a default if no encoding matches.
+> ***NOTE:***  
+> The first element of $supported encodings serves as a default if no encoding matches.
 
 ## Params:
 
-* ```array $supported```  
+* array $supported  
   List of supported content encodings.
-* Optional reference ```array &$result```  
+* Optional array &$result  
   Out parameter recording negotiation results.
   
 ## Returns:
 
-* ```NULL```, if negotiation fails.
-* ```string```, the negotiated encoding.
+* NULL, if negotiation fails.
+* string, the negotiated encoding.