@@ -217,7 +217,6 @@ |
||
217 | 217 | * In certain cases it is necessary to create the indexes of a |
218 | 218 | * newly created table with new queries after the table has been created. |
219 | 219 | * |
220 | - * @param string[] $indexes |
|
221 | 220 | * @return string |
222 | 221 | */ |
223 | 222 | protected function _build_indexes() |
@@ -148,7 +148,7 @@ |
||
148 | 148 | * http://www.greywyvern.com/code/php/utf8_html.phps |
149 | 149 | * |
150 | 150 | * @param string $c |
151 | - * @return integer|false |
|
151 | + * @return integer |
|
152 | 152 | */ |
153 | 153 | protected function _uniord($c) |
154 | 154 | { |
@@ -464,7 +464,7 @@ |
||
464 | 464 | /** |
465 | 465 | * Returns the number of rows from the last query executed |
466 | 466 | * |
467 | - * @return int|null |
|
467 | + * @return resource |
|
468 | 468 | */ |
469 | 469 | public function lastResult() |
470 | 470 | { |
@@ -295,7 +295,7 @@ discard block |
||
295 | 295 | /** |
296 | 296 | * Return the validation data, all or a specific key |
297 | 297 | * |
298 | - * @param integer|string|null $key int or string |
|
298 | + * @param string $key int or string |
|
299 | 299 | * |
300 | 300 | * @return mixed|mixed[]|null |
301 | 301 | */ |
@@ -1360,7 +1360,7 @@ discard block |
||
1360 | 1360 | * |
1361 | 1361 | * @param string $input |
1362 | 1362 | * |
1363 | - * @return null|string|string[] |
|
1363 | + * @return null|string |
|
1364 | 1364 | */ |
1365 | 1365 | protected function _sanitation_cleanhtml($input) |
1366 | 1366 | { |
@@ -1175,7 +1175,7 @@ |
||
1175 | 1175 | * - will look in various header fields where the ip may reside |
1176 | 1176 | * - returns false if it can't find a valid IP4 |
1177 | 1177 | * |
1178 | - * @return string|boolean on fail |
|
1178 | + * @return string|false on fail |
|
1179 | 1179 | */ |
1180 | 1180 | public function load_ip() |
1181 | 1181 | { |
@@ -111,7 +111,7 @@ |
||
111 | 111 | /** |
112 | 112 | * Remove an error from the list |
113 | 113 | * |
114 | - * @param mixed[]|mixed $error error code |
|
114 | + * @param string $error error code |
|
115 | 115 | */ |
116 | 116 | public function removeError($error) |
117 | 117 | { |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | * this __construct will feed AbstractModel with a value just to stop it |
45 | 45 | * from trying to initialize the database connection. |
46 | 46 | * |
47 | - * @param $db \ElkArte\Database\QueryInterface|null |
|
47 | + * @param integer $db \ElkArte\Database\QueryInterface|null |
|
48 | 48 | * @param $user \ElkArte\UserInfo|null |
49 | 49 | */ |
50 | 50 | public function __construct($db = null, $user = null) |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | /** |
56 | 56 | * Halts execution, optionally displays an error message |
57 | 57 | * |
58 | - * @param string|integer $error |
|
58 | + * @param string $error |
|
59 | 59 | */ |
60 | 60 | protected function terminate($error = '') |
61 | 61 | { |
@@ -287,7 +287,7 @@ discard block |
||
287 | 287 | * @param string $error_message |
288 | 288 | * @param string $error_code string or int code |
289 | 289 | * |
290 | - * @return bool |
|
290 | + * @return false|null |
|
291 | 291 | * @throws \ElkArte\Exceptions\Exception |
292 | 292 | */ |
293 | 293 | final protected function _setup_fatal_ErrorContext($error_message, $error_code) |
@@ -514,8 +514,8 @@ discard block |
||
514 | 514 | * Small utility function for simplify logging of deprecated functions |
515 | 515 | * in the development phase of 2.0. |
516 | 516 | * |
517 | - * @param $function |
|
518 | - * @param $replacement |
|
517 | + * @param string $function |
|
518 | + * @param string $replacement |
|
519 | 519 | */ |
520 | 520 | public function log_deprecated($function, $replacement) |
521 | 521 | { |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | |
143 | 143 | /** |
144 | 144 | * Return if the source is actually a web address vs local file |
145 | - * @param $source |
|
145 | + * @param string $source |
|
146 | 146 | * @return bool |
147 | 147 | */ |
148 | 148 | public function isWebAddress($source) |
@@ -173,7 +173,7 @@ discard block |
||
173 | 173 | * |
174 | 174 | * @param string $source |
175 | 175 | * |
176 | - * @return array |
|
176 | + * @return string |
|
177 | 177 | */ |
178 | 178 | public function getSize($source) |
179 | 179 | { |
@@ -372,7 +372,7 @@ discard block |
||
372 | 372 | * - the function makes sure that all non-essential image contents are disposed. |
373 | 373 | * |
374 | 374 | * @param $source |
375 | - * @return bool |
|
375 | + * @return boolean|null |
|
376 | 376 | */ |
377 | 377 | public function reencodeImage($source) |
378 | 378 | { |
@@ -646,7 +646,7 @@ discard block |
||
646 | 646 | * |
647 | 647 | * @param \DOMNode|object $node |
648 | 648 | * |
649 | - * @return mixed|string |
|
649 | + * @return string |
|
650 | 650 | */ |
651 | 651 | private function _convert_image($node) |
652 | 652 | { |
@@ -927,7 +927,7 @@ discard block |
||
927 | 927 | * |
928 | 928 | * @param string $text |
929 | 929 | * |
930 | - * @return mixed |
|
930 | + * @return string |
|
931 | 931 | */ |
932 | 932 | private function _recursive_decode($text) |
933 | 933 | { |