@@ -46,7 +46,7 @@ |
||
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | /** |
| 49 | - * @return string |
|
| 49 | + * @return Xoops\Module\Helper\HelperAbstract |
|
| 50 | 50 | */ |
| 51 | 51 | public static function getInstance() |
| 52 | 52 | { |
@@ -34,6 +34,9 @@ |
||
| 34 | 34 | return (bool)($value); |
| 35 | 35 | } |
| 36 | 36 | |
| 37 | + /** |
|
| 38 | + * @param string $sql |
|
| 39 | + */ |
|
| 37 | 40 | function query($sql) |
| 38 | 41 | { |
| 39 | 42 | $xoops = Xoops::getInstance(); |
@@ -324,7 +324,7 @@ |
||
| 324 | 324 | * that are not necessarily wrong. |
| 325 | 325 | * |
| 326 | 326 | * @param string $message message |
| 327 | - * @param array $context array of context data for this log entry |
|
| 327 | + * @param string[] $context array of context data for this log entry |
|
| 328 | 328 | * |
| 329 | 329 | * @return void |
| 330 | 330 | */ |
@@ -50,7 +50,7 @@ |
||
| 50 | 50 | /** |
| 51 | 51 | * Get the error code from the last operation |
| 52 | 52 | * @link http://php.net/manual/en/messageformatter.geterrorcode.php |
| 53 | - * @return string Code of the last error. |
|
| 53 | + * @return integer Code of the last error. |
|
| 54 | 54 | */ |
| 55 | 55 | public function getErrorCode() |
| 56 | 56 | { |