@@ -62,6 +62,7 @@ discard block |
||
62 | 62 | |
63 | 63 | /** |
64 | 64 | * Get the original filename |
65 | + * @return string |
|
65 | 66 | */ |
66 | 67 | public function getName() |
67 | 68 | { |
@@ -269,6 +270,9 @@ discard block |
||
269 | 270 | } |
270 | 271 | } |
271 | 272 | |
273 | + /** |
|
274 | + * @param string $mimeType |
|
275 | + */ |
|
272 | 276 | protected function storeUploadedFile($target, $mimeType, $uuid) |
273 | 277 | { |
274 | 278 | if (!is_dir(dirname($target))) { |
@@ -44,9 +44,9 @@ |
||
44 | 44 | } |
45 | 45 | |
46 | 46 | /** |
47 | - * @param $text |
|
47 | + * @param string $text |
|
48 | 48 | * |
49 | - * @return mixed|string |
|
49 | + * @return string |
|
50 | 50 | */ |
51 | 51 | public function php($text) |
52 | 52 | { |
@@ -57,6 +57,9 @@ |
||
57 | 57 | } |
58 | 58 | |
59 | 59 | |
60 | + /** |
|
61 | + * @param string $domain |
|
62 | + */ |
|
60 | 63 | public function loadLanguage($domain, $language = null) |
61 | 64 | { |
62 | 65 | $supports = null; |
@@ -17,7 +17,7 @@ |
||
17 | 17 | } |
18 | 18 | |
19 | 19 | /** |
20 | - * @param $sql |
|
20 | + * @param string $sql |
|
21 | 21 | */ |
22 | 22 | protected function query($sql) |
23 | 23 | { |
@@ -17,7 +17,7 @@ |
||
17 | 17 | } |
18 | 18 | |
19 | 19 | /** |
20 | - * @param $sql |
|
20 | + * @param string $sql |
|
21 | 21 | */ |
22 | 22 | protected function query($sql) |
23 | 23 | { |
@@ -17,7 +17,7 @@ |
||
17 | 17 | } |
18 | 18 | |
19 | 19 | /** |
20 | - * @param $sql |
|
20 | + * @param string $sql |
|
21 | 21 | */ |
22 | 22 | protected function query($sql) |
23 | 23 | { |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | * @param string $sourceName template file name |
99 | 99 | * @param string $fileName configuration file name |
100 | 100 | * |
101 | - * @return true|string true on success, error message on failure |
|
101 | + * @return string|boolean true on success, error message on failure |
|
102 | 102 | */ |
103 | 103 | protected function writeConfigurationFile($vars, $path, $sourceName, $fileName) |
104 | 104 | { |
@@ -192,7 +192,7 @@ discard block |
||
192 | 192 | /** |
193 | 193 | * Rewrite mainfile and secure file with current templates |
194 | 194 | * |
195 | - * @return bool |
|
195 | + * @return string|boolean |
|
196 | 196 | */ |
197 | 197 | public function apply_zaplegacy() |
198 | 198 | { |
@@ -521,7 +521,7 @@ discard block |
||
521 | 521 | } |
522 | 522 | |
523 | 523 | /** |
524 | - * @param $dirname |
|
524 | + * @param string $dirname |
|
525 | 525 | * @param $template |
526 | 526 | * @param string $type |
527 | 527 | * |
@@ -1405,9 +1405,9 @@ discard block |
||
1405 | 1405 | |
1406 | 1406 | /** |
1407 | 1407 | * @param $module |
1408 | - * @param $title |
|
1408 | + * @param string $title |
|
1409 | 1409 | * |
1410 | - * @return array |
|
1410 | + * @return string[] |
|
1411 | 1411 | */ |
1412 | 1412 | function xoops_module_log_header($module, $title) |
1413 | 1413 | { |
@@ -1433,7 +1433,7 @@ discard block |
||
1433 | 1433 | * 2 = smarty compile |
1434 | 1434 | * 3 = xoops cache |
1435 | 1435 | * or null to clear all |
1436 | - * @return bool |
|
1436 | + * @return boolean|null |
|
1437 | 1437 | */ |
1438 | 1438 | function xoops_module_delayed_clean_cache($cacheList = null) |
1439 | 1439 | { |
@@ -274,6 +274,12 @@ discard block |
||
274 | 274 | return empty($data) ? null : $data; |
275 | 275 | } |
276 | 276 | |
277 | + /** |
|
278 | + * @param integer $offset |
|
279 | + * @param boolean $exceptionOnInvalidType |
|
280 | + * @param boolean $objectSupport |
|
281 | + * @param boolean $objectForMap |
|
282 | + */ |
|
277 | 283 | private function parseBlock($offset, $yaml, $exceptionOnInvalidType, $objectSupport, $objectForMap) |
278 | 284 | { |
279 | 285 | $skippedLineNumbers = $this->skippedLineNumbers; |
@@ -792,6 +798,7 @@ discard block |
||
792 | 798 | * @see preg_last_error() |
793 | 799 | * |
794 | 800 | * @internal |
801 | + * @param string $pattern |
|
795 | 802 | */ |
796 | 803 | public static function preg_match($pattern, $subject, &$matches = null, $flags = 0, $offset = 0) |
797 | 804 | { |