typo, parameter and type fixes
[mdref/mdref-http] / http / Env / negotiateEncoding.md
index 60e90d2657b4fc7c12cca364e063c707d412c41b..e55213b4a5d974e94ea8d8da0f5a3e5ea9a07f6c 100644 (file)
@@ -1,15 +1,15 @@
-# 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.
+> The first element of $supported encodings serves as a default if no encoding matches.
 
 ## Params:
 
 * array $supported  
   List of supported content encodings.
-* Optional reference array &$result  
+* Optional array &$result  
   Out parameter recording negotiation results.
   
 ## Returns: