@@ -104,7 +104,7 @@ |
||
104 | 104 | * @global array the list of available translations |
105 | 105 | * @global string the retained translation keyword |
106 | 106 | * @access private |
107 | - * @return int|string |
|
107 | + * @return string |
|
108 | 108 | */ |
109 | 109 | function xoops_analyzeLanguage($str = '', $envType = '') |
110 | 110 | { |
@@ -233,7 +233,7 @@ discard block |
||
233 | 233 | } |
234 | 234 | |
235 | 235 | /** |
236 | - * @param $task |
|
236 | + * @param string $task |
|
237 | 237 | * |
238 | 238 | * @return bool |
239 | 239 | */ |
@@ -253,10 +253,10 @@ discard block |
||
253 | 253 | } |
254 | 254 | |
255 | 255 | /** |
256 | - * @param $charset |
|
256 | + * @param string $charset |
|
257 | 257 | * @param $collation |
258 | 258 | * |
259 | - * @return bool |
|
259 | + * @return false|null |
|
260 | 260 | */ |
261 | 261 | public function convert_db($charset, $collation) |
262 | 262 | { |
@@ -221,11 +221,11 @@ |
||
221 | 221 | * Write-enable the specified file/folder |
222 | 222 | * |
223 | 223 | * @param string $path |
224 | - * @param bool|string $group |
|
224 | + * @param boolean $group |
|
225 | 225 | * @param bool $create |
226 | 226 | * |
227 | 227 | * @internal param bool $recurse |
228 | - * @return false on failure, method (u-ser,g-roup,w-orld) on success |
|
228 | + * @return false|string on failure, method (u-ser,g-roup,w-orld) on success |
|
229 | 229 | */ |
230 | 230 | public function makeWritable($path, $group = false, $create = true) |
231 | 231 | { |
@@ -63,6 +63,8 @@ discard block |
||
63 | 63 | /** |
64 | 64 | * *#@+ |
65 | 65 | * Xoops Write Licence System Key |
66 | + * @param string $system_key |
|
67 | + * @param string $licensefile |
|
66 | 68 | */ |
67 | 69 | public function xoops_putLicenseKey($system_key, $licensefile, $license_file_dist = 'license.dist.php') |
68 | 70 | { |
@@ -136,6 +138,7 @@ discard block |
||
136 | 138 | /** |
137 | 139 | * *#@+ |
138 | 140 | * Xoops Stripe Licence System Key |
141 | + * @param string $xoops_key |
|
139 | 142 | */ |
140 | 143 | public function xoops_stripeKey($xoops_key) |
141 | 144 | { |
@@ -70,6 +70,8 @@ discard block |
||
70 | 70 | /** |
71 | 71 | * *#@+ |
72 | 72 | * Xoops Write Licence System Key |
73 | + * @param string $public_key |
|
74 | + * @param string $licensefile |
|
73 | 75 | */ |
74 | 76 | public function xoops_upgradeLicenseKey($public_key, $licensefile, $license_file_dist = 'license.dist.php') |
75 | 77 | { |
@@ -94,6 +96,8 @@ discard block |
||
94 | 96 | /** |
95 | 97 | * *#@+ |
96 | 98 | * Xoops Write Licence System Key |
99 | + * @param string $system_key |
|
100 | + * @param string $licensefile |
|
97 | 101 | */ |
98 | 102 | public function xoops_putLicenseKey($system_key, $licensefile, $license_file_dist = 'license.dist.php') |
99 | 103 | { |
@@ -209,6 +213,7 @@ discard block |
||
209 | 213 | /** |
210 | 214 | * *#@+ |
211 | 215 | * Xoops Stripe Licence System Key |
216 | + * @param string $xoops_key |
|
212 | 217 | */ |
213 | 218 | public function xoops_stripeKey($xoops_key, $num = 6, $length = 30, $uu = 0) |
214 | 219 | { |
@@ -80,7 +80,7 @@ |
||
80 | 80 | /** |
81 | 81 | * Check imptotal |
82 | 82 | * |
83 | - * @return bool |
|
83 | + * @return boolean|null |
|
84 | 84 | */ |
85 | 85 | public function check_imptotal() |
86 | 86 | { |
@@ -1,8 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | use Xmf\Database\Tables; |
4 | -use Xmf\Key\Basic; |
|
5 | -use Xmf\Key\FileStorage; |
|
6 | 4 | |
7 | 5 | /** |
8 | 6 | * Upgrade from 2.5.7 to 2.5.8 |
@@ -98,7 +98,7 @@ |
||
98 | 98 | * Get Object |
99 | 99 | * |
100 | 100 | * @param int $id |
101 | - * @return object |
|
101 | + * @return null|XoopsRank |
|
102 | 102 | */ |
103 | 103 | public function get($id = 0) |
104 | 104 | { |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | * @param string $sourceName template file name |
111 | 111 | * @param string $fileName configuration file name |
112 | 112 | * |
113 | - * @return true|string true on success, error message on failure |
|
113 | + * @return string|boolean true on success, error message on failure |
|
114 | 114 | */ |
115 | 115 | function writeConfigurationFile($vars, $path, $sourceName, $fileName) |
116 | 116 | { |
@@ -153,7 +153,7 @@ discard block |
||
153 | 153 | * |
154 | 154 | * @param string $filename file or directory name |
155 | 155 | * |
156 | - * @return array|false false on error, or array of file stat information |
|
156 | + * @return string false on error, or array of file stat information |
|
157 | 157 | */ |
158 | 158 | function getStats($filename) |
159 | 159 | { |