@@ -174,7 +174,7 @@ |
||
174 | 174 | /** |
175 | 175 | * Save settings |
176 | 176 | * |
177 | - * @return bool|string |
|
177 | + * @return boolean |
|
178 | 178 | */ |
179 | 179 | public function saveSettings(SPaymentMethods $paymentMethod) { |
180 | 180 | $saveKey = $paymentMethod->getId() . '_' . $this->moduleName; |
@@ -174,7 +174,7 @@ |
||
174 | 174 | /** |
175 | 175 | * Save settings |
176 | 176 | * |
177 | - * @return bool|string |
|
177 | + * @return boolean |
|
178 | 178 | */ |
179 | 179 | public function saveSettings(SPaymentMethods $paymentMethod) { |
180 | 180 | $saveKey = $paymentMethod->getId() . '_' . $this->moduleName; |
@@ -174,7 +174,7 @@ |
||
174 | 174 | /** |
175 | 175 | * Save settings |
176 | 176 | * |
177 | - * @return bool|string |
|
177 | + * @return boolean |
|
178 | 178 | */ |
179 | 179 | public function saveSettings(SPaymentMethods $paymentMethod) { |
180 | 180 | $saveKey = $paymentMethod->getId() . '_' . $this->moduleName; |
@@ -174,7 +174,7 @@ |
||
174 | 174 | /** |
175 | 175 | * Save settings |
176 | 176 | * |
177 | - * @return bool|string |
|
177 | + * @return boolean |
|
178 | 178 | */ |
179 | 179 | public function saveSettings(SPaymentMethods $paymentMethod) { |
180 | 180 | $saveKey = $paymentMethod->getId() . '_' . $this->moduleName; |
@@ -150,7 +150,7 @@ |
||
150 | 150 | /** |
151 | 151 | * Run self::getQueries() with DROP_PATTERN |
152 | 152 | * |
153 | - * @return array |
|
153 | + * @return string[] |
|
154 | 154 | */ |
155 | 155 | protected function getDropQueries() { |
156 | 156 |
@@ -13,7 +13,7 @@ |
||
13 | 13 | |
14 | 14 | /** |
15 | 15 | * @param string $content |
16 | - * @return mixed |
|
16 | + * @return string |
|
17 | 17 | */ |
18 | 18 | function href_nofollow($content) { |
19 | 19 | return preg_replace_callback('/<(a\s[^>]+)>/isU', 'seo_nofollow_replace', $content); |
@@ -7,7 +7,7 @@ discard block |
||
7 | 7 | if (!function_exists('admin_or_redirect')) { |
8 | 8 | |
9 | 9 | /** |
10 | - * @return bool |
|
10 | + * @return boolean|null |
|
11 | 11 | */ |
12 | 12 | function admin_or_redirect() { |
13 | 13 | if (PHP_SAPI == 'cli') { |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | |
44 | 44 | /** |
45 | 45 | * @param string $perm |
46 | - * @return bool |
|
46 | + * @return boolean|null |
|
47 | 47 | */ |
48 | 48 | function cp_check_perm($perm) { |
49 | 49 | $ci = & get_instance(); |
@@ -135,6 +135,8 @@ |
||
135 | 135 | * Get value of category item |
136 | 136 | * |
137 | 137 | * @access public |
138 | + * @param string $param |
|
139 | + * @return string |
|
138 | 140 | */ |
139 | 141 | public function GetValue($cat_id, $param) { |
140 | 142 | if ($this->unsorted_arr == FALSE) { |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | |
80 | 80 | /** |
81 | 81 | * Check if widgets folder is writable |
82 | - * @return null|false |
|
82 | + * @return boolean |
|
83 | 83 | */ |
84 | 84 | private function _is_writable() { |
85 | 85 | $this->db->where('s_name', 'main'); |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | } |
97 | 97 | |
98 | 98 | /** |
99 | - * @return bool |
|
99 | + * @return null|false |
|
100 | 100 | */ |
101 | 101 | public function create() { |
102 | 102 | if (!$this->_is_writable()) { |
@@ -336,7 +336,7 @@ discard block |
||
336 | 336 | * @param integer $id |
337 | 337 | * @param bool|FALSE $update_info |
338 | 338 | * @param null|string $locale |
339 | - * @return bool |
|
339 | + * @return false|null |
|
340 | 340 | */ |
341 | 341 | public function update_widget($id, $update_info = FALSE, $locale = NULL) { |
342 | 342 | //cp_check_perm('widget_access_settings'); |