@@ -22,7 +22,7 @@ |
||
| 22 | 22 | /** |
| 23 | 23 | * @param XoopsModule $module |
| 24 | 24 | * @param string|null $oldversion |
| 25 | - * @return bool|void |
|
| 25 | + * @return boolean |
|
| 26 | 26 | * @todo this should be removed, it is now handled by schema |
| 27 | 27 | */ |
| 28 | 28 | function xoops_module_update_pm(&$module, $oldversion = null) |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | /** |
| 23 | 23 | * @param XoopsModule $module |
| 24 | 24 | * @param string|null $oldversion |
| 25 | - * @return bool|void |
|
| 25 | + * @return boolean |
|
| 26 | 26 | * @todo this should be removed, it is now handled by schema |
| 27 | 27 | */ |
| 28 | 28 | function xoops_module_update_pm(&$module, $oldversion = null) |
@@ -80,7 +80,7 @@ |
||
| 80 | 80 | * |
| 81 | 81 | * @internal intended for module developers only |
| 82 | 82 | * |
| 83 | - * @return int|false count of bytes written or false on error |
|
| 83 | + * @return null|false count of bytes written or false on error |
|
| 84 | 84 | */ |
| 85 | 85 | public function saveCurrentSchema() |
| 86 | 86 | { |
@@ -479,6 +479,11 @@ |
||
| 479 | 479 | trigger_error("Smarty error: $error_msg", $error_type); |
| 480 | 480 | } |
| 481 | 481 | |
| 482 | + /** |
|
| 483 | + * @param string $function |
|
| 484 | + * @param string $file |
|
| 485 | + * @param integer $line |
|
| 486 | + */ |
|
| 482 | 487 | protected function deprecated($function, $file, $line) |
| 483 | 488 | { |
| 484 | 489 | $xoops = \Xoops::getInstance(); |