@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | /** |
75 | 75 | * Get a reference to the only instance of this class |
76 | 76 | * |
77 | - * @return object XoopsLogger reference to the only instance |
|
77 | + * @return XoopsLogger XoopsLogger reference to the only instance |
|
78 | 78 | */ |
79 | 79 | public static function getInstance() |
80 | 80 | { |
@@ -261,7 +261,7 @@ discard block |
||
261 | 261 | /** |
262 | 262 | * Determine if an object implements Throwable (or is an Exception that would under PHP 7.) |
263 | 263 | * |
264 | - * @param mixed $e Expected to be an object related to Exception or Throwable |
|
264 | + * @param Throwable $e Expected to be an object related to Exception or Throwable |
|
265 | 265 | * |
266 | 266 | * @return bool true if related to Throwable or Exception, otherwise false |
267 | 267 | */ |
@@ -277,7 +277,7 @@ discard block |
||
277 | 277 | * |
278 | 278 | * @param string $path |
279 | 279 | * |
280 | - * @return mixed|string |
|
280 | + * @return string |
|
281 | 281 | */ |
282 | 282 | public function sanitizePath($path) |
283 | 283 | { |
@@ -436,7 +436,7 @@ discard block |
||
436 | 436 | * @param $errFile |
437 | 437 | * @param $errLine |
438 | 438 | * @param null $errContext |
439 | - * @return bool |
|
439 | + * @return boolean|null |
|
440 | 440 | */ |
441 | 441 | function XoopsErrorHandler_HandleError($errNo, $errStr, $errFile, $errLine, $errContext = null) |
442 | 442 | { |
@@ -61,6 +61,9 @@ |
||
61 | 61 | return $source; |
62 | 62 | } |
63 | 63 | |
64 | +/** |
|
65 | + * @param string $search_str |
|
66 | + */ |
|
64 | 67 | function smarty_outputfilter_trimwhitespace_replace($search_str, $replace, &$subject) { |
65 | 68 | $_len = strlen($search_str); |
66 | 69 | $_pos = 0; |
@@ -34,7 +34,7 @@ |
||
34 | 34 | * @param string $string |
35 | 35 | * @param HTMLPurifier_Config $config |
36 | 36 | * @param HTMLPurifier_Context $context |
37 | - * @return bool|string |
|
37 | + * @return false|string |
|
38 | 38 | */ |
39 | 39 | public function validate($string, $config, $context) |
40 | 40 | { |