Completed
Push — master ( 3c1426...32b61b )
by Jean-Christophe
01:45
created
Ubiquity/utils/http/Response.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,6 +33,10 @@  discard block
 block discarded – undo
33 33
 		self::header($headerField, $values);
34 34
 	}
35 35
 
36
+	/**
37
+	 * @param string $contentType
38
+	 * @param string $encoding
39
+	 */
36 40
 	public static function setContentType($contentType, $encoding=null) {
37 41
 		$value=$contentType;
38 42
 		if (isset($encoding))
@@ -98,7 +102,6 @@  discard block
 block discarded – undo
98 102
 
99 103
 	/**
100 104
 	 * Sets the Access-Control-Allow-Methods field value
101
-	 * @param string|array $origin
102 105
 	 */
103 106
 	public static function setAccessControlMethods($methods) {
104 107
 		self::_headerArray('Access-Control-Allow-Methods', $origin);
Please login to merge, or discard this patch.