Completed
Pull Request — master (#516)
by Michael
10:59
created
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/class/libraries/vendor/webmozart/assert/src/Assert.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -363,6 +363,9 @@  discard block
 block discarded – undo
363 363
         }
364 364
     }
365 365
 
366
+    /**
367
+     * @param integer $value
368
+     */
366 369
     public static function eq($value, $value2, $message = '')
367 370
     {
368 371
         if ($value2 != $value) {
@@ -937,6 +940,9 @@  discard block
 block discarded – undo
937 940
         return mb_strwidth($value, $encoding);
938 941
     }
939 942
 
943
+    /**
944
+     * @param string $message
945
+     */
940 946
     protected static function reportInvalidArgument($message)
941 947
     {
942 948
         throw new InvalidArgumentException($message);
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/kint-php/kint/decorators/plain.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -160,6 +160,9 @@  discard block
 block discarded – undo
160 160
 	}
161 161
 
162 162
 
163
+	/**
164
+	 * @param string $type
165
+	 */
163 166
 	private static function _colorize( $text, $type, $nlAfter = true )
164 167
 	{
165 168
 		$nlAfter = $nlAfter ? PHP_EOL : '';
@@ -201,6 +204,10 @@  discard block
 block discarded – undo
201 204
 	}
202 205
 
203 206
 
207
+	/**
208
+	 * @param string $char
209
+	 * @param integer $repeat
210
+	 */
204 211
 	private static function _char( $char, $repeat = null )
205 212
 	{
206 213
 		switch ( Kint::enabled() ) {
@@ -221,6 +228,9 @@  discard block
 block discarded – undo
221 228
 		return $repeat ? str_repeat( $char, $repeat ) : $char;
222 229
 	}
223 230
 
231
+	/**
232
+	 * @param string $text
233
+	 */
224 234
 	private static function _title( $text )
225 235
 	{
226 236
 		$escaped          = kintParser::escape( $text );
Please login to merge, or discard this patch.
htdocs/class/libraries/vendor/kint-php/kint/decorators/rich.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -171,7 +171,6 @@
 block discarded – undo
171 171
 	/**
172 172
 	 * called for each dump, opens the html tag
173 173
 	 *
174
-	 * @param array $callee caller information taken from debug backtrace
175 174
 	 *
176 175
 	 * @return string
177 176
 	 */
Please login to merge, or discard this patch.