@@ -164,6 +164,9 @@ |
||
164 | 164 | * */ |
165 | 165 | if (!function_exists('color')) { |
166 | 166 | |
167 | + /** |
|
168 | + * @param string $type |
|
169 | + */ |
|
167 | 170 | function color($type) { |
168 | 171 | switch ($type) { |
169 | 172 | case 'bg': |
@@ -207,6 +207,9 @@ discard block |
||
207 | 207 | |
208 | 208 | /* Mailhide related code */ |
209 | 209 | |
210 | +/** |
|
211 | + * @param string $ky |
|
212 | + */ |
|
210 | 213 | function _recaptcha_aes_encrypt($val, $ky) { |
211 | 214 | if (!function_exists('mcrypt_encrypt')) { |
212 | 215 | die('To use reCAPTCHA Mailhide, you need to have the mcrypt php module installed.'); |
@@ -217,6 +220,9 @@ discard block |
||
217 | 220 | return mcrypt_encrypt($enc, $ky, $val, $mode, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"); |
218 | 221 | } |
219 | 222 | |
223 | +/** |
|
224 | + * @param null|string $x |
|
225 | + */ |
|
220 | 226 | function _recaptcha_mailhide_urlbase64($x) { |
221 | 227 | return strtr(base64_encode($x), '+/', '-_'); |
222 | 228 | } |
@@ -433,7 +433,7 @@ |
||
433 | 433 | |
434 | 434 | /** |
435 | 435 | * @param string $msg |
436 | - * @return bool |
|
436 | + * @return false|null |
|
437 | 437 | */ |
438 | 438 | private function log_cache_error($msg) { |
439 | 439 | $log_path = APPPATH . 'logs/'; |
@@ -106,7 +106,7 @@ |
||
106 | 106 | * Get category from an array |
107 | 107 | * |
108 | 108 | * @access public |
109 | - * @return array |
|
109 | + * @return string |
|
110 | 110 | */ |
111 | 111 | public function get_category($id) { |
112 | 112 | $this->unsorted(); |
@@ -49,6 +49,9 @@ discard block |
||
49 | 49 | } |
50 | 50 | } |
51 | 51 | |
52 | + /** |
|
53 | + * @param string $key |
|
54 | + */ |
|
52 | 55 | public function _fetch($key) { |
53 | 56 | |
54 | 57 | $key = $this->generatekey($key); |
@@ -147,7 +150,7 @@ discard block |
||
147 | 150 | * |
148 | 151 | * @param string $key - cache item key |
149 | 152 | * |
150 | - * @return bool |
|
153 | + * @return boolean|null |
|
151 | 154 | */ |
152 | 155 | public function delete($key) { |
153 | 156 | |
@@ -157,7 +160,7 @@ discard block |
||
157 | 160 | /** |
158 | 161 | * Delete Cached Function |
159 | 162 | * |
160 | - * @return bool |
|
163 | + * @return boolean|null |
|
161 | 164 | */ |
162 | 165 | public function delete_func($object, $func, $args = []) { |
163 | 166 | |
@@ -168,7 +171,7 @@ discard block |
||
168 | 171 | /** |
169 | 172 | * Delete All Cache Items |
170 | 173 | * |
171 | - * @return bool |
|
174 | + * @return boolean|null |
|
172 | 175 | * @access public |
173 | 176 | */ |
174 | 177 | public function delete_all() { |
@@ -155,7 +155,7 @@ |
||
155 | 155 | /** |
156 | 156 | * zipping files |
157 | 157 | * @param array $files |
158 | - * @return bool |
|
158 | + * @return boolean|null |
|
159 | 159 | * @throws Exception |
160 | 160 | */ |
161 | 161 | public function add_to_ZIP($files = []) { |
@@ -234,7 +234,7 @@ |
||
234 | 234 | |
235 | 235 | /** |
236 | 236 | * @param string $moduleName |
237 | - * @return bool |
|
237 | + * @return boolean|null |
|
238 | 238 | */ |
239 | 239 | public function deinstall($moduleName) { |
240 | 240 | $modules = $this->input->post('ids') ?: [$moduleName]; |
@@ -483,7 +483,7 @@ |
||
483 | 483 | |
484 | 484 | /** |
485 | 485 | * @param array $settings |
486 | - * @return bool |
|
486 | + * @return boolean|null |
|
487 | 487 | */ |
488 | 488 | public function setSettings($settings) { |
489 | 489 | return $this->cmsemail_model->setSettings($settings); |
@@ -308,7 +308,7 @@ discard block |
||
308 | 308 | * |
309 | 309 | * @param string $msg |
310 | 310 | * @param int $priority One of the Propel::LOG_* logging levels |
311 | - * @return boolean |
|
311 | + * @return boolean|null |
|
312 | 312 | */ |
313 | 313 | protected function log($msg, $priority = Propel::LOG_INFO) |
314 | 314 | { |
@@ -1101,7 +1101,7 @@ discard block |
||
1101 | 1101 | * TableMap::TYPE_COLNAME, TableMap::TYPE_FIELDNAME, TableMap::TYPE_NUM. |
1102 | 1102 | * The default key type is the column's TableMap::TYPE_PHPNAME. |
1103 | 1103 | * |
1104 | - * @param mixed $parser A AbstractParser instance, |
|
1104 | + * @param string $parser A AbstractParser instance, |
|
1105 | 1105 | * or a format name ('XML', 'YAML', 'JSON', 'CSV') |
1106 | 1106 | * @param string $data The source data to import from |
1107 | 1107 | * @param string $keyType The type of keys the array uses. |