@@ -26,6 +26,9 @@ |
||
26 | 26 | return false; |
27 | 27 | } |
28 | 28 | |
29 | + /** |
|
30 | + * @param string $sql |
|
31 | + */ |
|
29 | 32 | function query($sql) |
30 | 33 | { |
31 | 34 | //echo $sql . "<br />"; |
@@ -26,6 +26,9 @@ |
||
26 | 26 | return false; |
27 | 27 | } |
28 | 28 | |
29 | + /** |
|
30 | + * @param string $sql |
|
31 | + */ |
|
29 | 32 | function query($sql) |
30 | 33 | { |
31 | 34 | //echo $sql . "<br />"; |
@@ -44,7 +44,7 @@ |
||
44 | 44 | } |
45 | 45 | |
46 | 46 | /** |
47 | - * @return string |
|
47 | + * @return Xoops\Module\Helper\HelperAbstract |
|
48 | 48 | */ |
49 | 49 | public static function getInstance() |
50 | 50 | { |
@@ -751,6 +751,9 @@ |
||
751 | 751 | } |
752 | 752 | } |
753 | 753 | |
754 | +/** |
|
755 | + * @param integer $mime_value |
|
756 | + */ |
|
754 | 757 | function _changeMimeValue($mime_value) |
755 | 758 | { |
756 | 759 | if ($mime_value == 1) { |
@@ -60,7 +60,7 @@ |
||
60 | 60 | * |
61 | 61 | * @param string $ip ip address to normalize |
62 | 62 | * |
63 | - * @return string|false normalized address or false on failure |
|
63 | + * @return string normalized address or false on failure |
|
64 | 64 | */ |
65 | 65 | protected function normalize($ip) |
66 | 66 | { |
@@ -70,7 +70,7 @@ |
||
70 | 70 | /** |
71 | 71 | * get the module object |
72 | 72 | * |
73 | - * @return XoopsModule |
|
73 | + * @return \XoopsModule |
|
74 | 74 | */ |
75 | 75 | public function getModule() |
76 | 76 | { |
@@ -163,7 +163,7 @@ |
||
163 | 163 | /** |
164 | 164 | * Delete all permissions for an item and a specific name or array of names |
165 | 165 | * |
166 | - * @param string|string[] $gperm_name name(s) of the permission to delete |
|
166 | + * @param string $gperm_name name(s) of the permission to delete |
|
167 | 167 | * @param int $gperm_itemid id of the object to check |
168 | 168 | * |
169 | 169 | * @return bool true if no errors |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | * @param integer $inline Nesting level where you switch to inline YAML |
105 | 105 | * @param integer $indent Number of spaces to indent for nested nodes |
106 | 106 | * |
107 | - * @return integer|boolean number of bytes written, or false on error |
|
107 | + * @return null|false number of bytes written, or false on error |
|
108 | 108 | */ |
109 | 109 | public static function save($var, $yamlFile, $inline = 4, $indent = 4) |
110 | 110 | { |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | * @param integer $inline Nesting level where you switch to inline YAML |
131 | 131 | * @param integer $indent Number of spaces to indent for nested nodes |
132 | 132 | * |
133 | - * @return string|boolean YAML string or false on error |
|
133 | + * @return string|false YAML string or false on error |
|
134 | 134 | */ |
135 | 135 | public static function dumpWrapped($var, $inline = 4, $indent = 4) |
136 | 136 | { |
@@ -207,7 +207,7 @@ discard block |
||
207 | 207 | * @param integer $inline Nesting level where you switch to inline YAML |
208 | 208 | * @param integer $indent Number of spaces to indent for nested nodes |
209 | 209 | * |
210 | - * @return integer|boolean number of bytes written, or false on error |
|
210 | + * @return null|false number of bytes written, or false on error |
|
211 | 211 | */ |
212 | 212 | public static function saveWrapped($var, $yamlFile, $inline = 4, $indent = 4) |
213 | 213 | { |
@@ -44,7 +44,7 @@ |
||
44 | 44 | } |
45 | 45 | |
46 | 46 | /** |
47 | - * @return string |
|
47 | + * @return Xoops\Module\Helper\HelperAbstract |
|
48 | 48 | */ |
49 | 49 | public static function getInstance() |
50 | 50 | { |