@@ -33,6 +33,10 @@ discard block |
||
| 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 |
||
| 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); |