@@ -56,6 +56,9 @@ discard block |
||
56 | 56 | $this->setupFilters($config); |
57 | 57 | } |
58 | 58 | |
59 | + /** |
|
60 | + * @param HTMLPurifier_Config $config |
|
61 | + */ |
|
59 | 62 | protected function setupFilters($config) |
60 | 63 | { |
61 | 64 | foreach ($this->registeredFilters as $name => $filter) { |
@@ -71,6 +74,9 @@ discard block |
||
71 | 74 | unset($this->registeredFilters); |
72 | 75 | } |
73 | 76 | |
77 | + /** |
|
78 | + * @param HTMLPurifier_Config $config |
|
79 | + */ |
|
74 | 80 | protected function setupMemberVariables($config) |
75 | 81 | { |
76 | 82 | $this->host = $config->get('URI.Host'); |
@@ -144,6 +144,7 @@ |
||
144 | 144 | /** |
145 | 145 | * Throws an exception. |
146 | 146 | * @throws HTMLPurifier_VarParserException |
147 | + * @param string $msg |
|
147 | 148 | */ |
148 | 149 | protected function error($msg) |
149 | 150 | { |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | /** |
31 | 31 | * Creates a zipper from an array, with a hole in the |
32 | 32 | * 0-index position. |
33 | - * @param Array to zipper-ify. |
|
33 | + * @param Array HTMLPurifier_Token[] zipper-ify. |
|
34 | 34 | * @return Tuple of zipper and element of first position. |
35 | 35 | */ |
36 | 36 | static public function fromArray($array) { |
@@ -138,6 +138,7 @@ discard block |
||
138 | 138 | * *unchanged!* |
139 | 139 | * |
140 | 140 | * @param Current contents of hole. |
141 | + * @param HTMLPurifier_Token $t |
|
141 | 142 | * @return array |
142 | 143 | */ |
143 | 144 | public function splice($t, $delete, $replacement) { |
@@ -59,8 +59,8 @@ |
||
59 | 59 | |
60 | 60 | /** |
61 | 61 | * @param XoopsDatabase $db |
62 | - * @param $table |
|
63 | - * @param $field |
|
62 | + * @param string $table |
|
63 | + * @param string $field |
|
64 | 64 | * @param string $condition |
65 | 65 | * |
66 | 66 | * @return bool |
@@ -104,7 +104,7 @@ |
||
104 | 104 | * @global array the list of available translations |
105 | 105 | * @global string the retained translation keyword |
106 | 106 | * @access private |
107 | - * @return int|string |
|
107 | + * @return string |
|
108 | 108 | */ |
109 | 109 | function xoops_analyzeLanguage($str = '', $envType = '') |
110 | 110 | { |
@@ -39,7 +39,7 @@ |
||
39 | 39 | } |
40 | 40 | |
41 | 41 | /** |
42 | - * @param $sql |
|
42 | + * @param string $sql |
|
43 | 43 | */ |
44 | 44 | public function query($sql) |
45 | 45 | { |
@@ -233,7 +233,7 @@ discard block |
||
233 | 233 | } |
234 | 234 | |
235 | 235 | /** |
236 | - * @param $task |
|
236 | + * @param string $task |
|
237 | 237 | * |
238 | 238 | * @return bool |
239 | 239 | */ |
@@ -253,10 +253,10 @@ discard block |
||
253 | 253 | } |
254 | 254 | |
255 | 255 | /** |
256 | - * @param $charset |
|
256 | + * @param string $charset |
|
257 | 257 | * @param $collation |
258 | 258 | * |
259 | - * @return bool |
|
259 | + * @return false|null |
|
260 | 260 | */ |
261 | 261 | public function convert_db($charset, $collation) |
262 | 262 | { |
@@ -221,11 +221,11 @@ |
||
221 | 221 | * Write-enable the specified file/folder |
222 | 222 | * |
223 | 223 | * @param string $path |
224 | - * @param bool|string $group |
|
224 | + * @param boolean $group |
|
225 | 225 | * @param bool $create |
226 | 226 | * |
227 | 227 | * @internal param bool $recurse |
228 | - * @return false on failure, method (u-ser,g-roup,w-orld) on success |
|
228 | + * @return false|string on failure, method (u-ser,g-roup,w-orld) on success |
|
229 | 229 | */ |
230 | 230 | public function makeWritable($path, $group = false, $create = true) |
231 | 231 | { |
@@ -63,6 +63,8 @@ discard block |
||
63 | 63 | /** |
64 | 64 | * *#@+ |
65 | 65 | * Xoops Write Licence System Key |
66 | + * @param string $system_key |
|
67 | + * @param string $licensefile |
|
66 | 68 | */ |
67 | 69 | public function xoops_putLicenseKey($system_key, $licensefile, $license_file_dist = 'license.dist.php') |
68 | 70 | { |
@@ -136,6 +138,7 @@ discard block |
||
136 | 138 | /** |
137 | 139 | * *#@+ |
138 | 140 | * Xoops Stripe Licence System Key |
141 | + * @param string $xoops_key |
|
139 | 142 | */ |
140 | 143 | public function xoops_stripeKey($xoops_key) |
141 | 144 | { |