Completed
Pull Request — master (#593)
by Richard
10:46
created
htdocs/modules/system/class/fineuploadhandler.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -62,6 +62,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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))) {
Please login to merge, or discard this patch.
htdocs/class/textsanitizer/syntaxhighlight/syntaxhighlight.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,9 +44,9 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
upgrade/class/control.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -57,6 +57,9 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
upgrade/upd-2.0.15-to-2.0.16/index.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     }
18 18
 
19 19
     /**
20
-     * @param $sql
20
+     * @param string $sql
21 21
      */
22 22
     protected function query($sql)
23 23
     {
Please login to merge, or discard this patch.
upgrade/upd-2.0.16-to-2.0.17/index.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     }
18 18
 
19 19
     /**
20
-     * @param $sql
20
+     * @param string $sql
21 21
      */
22 22
     protected function query($sql)
23 23
     {
Please login to merge, or discard this patch.
upgrade/upd-2.0.17-to-2.0.18/index.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     }
18 18
 
19 19
     /**
20
-     * @param $sql
20
+     * @param string $sql
21 21
      */
22 22
     protected function query($sql)
23 23
     {
Please login to merge, or discard this patch.
upgrade/upd-2.5.8-to-2.5.9/index.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
htdocs/modules/system/admin/modulesadmin/modulesadmin.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -521,7 +521,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
htdocs/class/libraries/vendor/symfony/yaml/Parser.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -274,6 +274,12 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.