Passed
Pull Request — master (#14116)
by
unknown
09:32
created
test/classes/EncodingTest.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -100,8 +100,6 @@
 block discarded – undo
100 100
     /**
101 101
      * Test for kanjiChangeOrder
102 102
      *
103
-     * @param string $kanji_test_list current list
104
-     * @param string $expected        expected list
105 103
      *
106 104
      * @return void
107 105
      * @test
Please login to merge, or discard this patch.
libraries/classes/Core.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      *
48 48
      * @param mixed &$var    param to check
49 49
      * @param mixed $default default value
50
-     * @param mixed $type    var type or array of values to check against $var
50
+     * @param string $type    var type or array of values to check against $var
51 51
      *
52 52
      * @return mixed   $var or $default
53 53
      *
@@ -344,7 +344,7 @@  discard block
 block discarded – undo
344 344
      * (renamed with PMA prefix to avoid double definition when embedded
345 345
      * in Moodle)
346 346
      *
347
-     * @param string|int $size size (Default = 0)
347
+     * @param integer $size size (Default = 0)
348 348
      *
349 349
      * @return integer $size
350 350
      */
@@ -380,6 +380,7 @@  discard block
 block discarded – undo
380 380
      *
381 381
      * @param string &$page     page to check
382 382
      * @param array  $whitelist whitelist to check page against
383
+     * @param string $page
383 384
      *
384 385
      * @return boolean whether $page is valid or not (in $whitelist or not)
385 386
      */
@@ -771,7 +772,7 @@  discard block
 block discarded – undo
771 772
     /**
772 773
      * Displays SQL query before executing.
773 774
      *
774
-     * @param array|string $query_data Array containing queries or query itself
775
+     * @param string $query_data Array containing queries or query itself
775 776
      *
776 777
      * @return void
777 778
      */
Please login to merge, or discard this patch.
libraries/classes/Logging.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
      * @param string $user   user name
47 47
      * @param string $status status message
48 48
      *
49
-     * @return void
49
+     * @return string
50 50
      */
51 51
     public static function getLogMessage($user, $status)
52 52
     {
Please login to merge, or discard this patch.
libraries/classes/Message.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
      *
124 124
      * @param string  $string   The message to be displayed
125 125
      * @param integer $number   A numeric representation of the type of message
126
-     * @param array   $params   An array of parameters to use in the message
126
+     * @param string[]   $params   An array of parameters to use in the message
127 127
      * @param integer $sanitize A flag to indicate what to sanitize, see
128 128
      *                          constant definitions above
129 129
      */
@@ -489,7 +489,7 @@  discard block
 block discarded – undo
489 489
     /**
490 490
      * Real implementation of adding message
491 491
      *
492
-     * @param mixed  $message   to be added
492
+     * @param Message  $message   to be added
493 493
      * @param string $separator to use between this and previous string/message
494 494
      *
495 495
      * @return void
Please login to merge, or discard this patch.
libraries/classes/SavedSearches.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
     /**
235 235
      * Save the search
236 236
      *
237
-     * @return boolean
237
+     * @return null|boolean
238 238
      */
239 239
     public function save()
240 240
     {
@@ -335,7 +335,7 @@  discard block
 block discarded – undo
335 335
     /**
336 336
      * Delete the search
337 337
      *
338
-     * @return boolean
338
+     * @return null|boolean
339 339
      */
340 340
     public function delete()
341 341
     {
@@ -363,7 +363,7 @@  discard block
 block discarded – undo
363 363
     /**
364 364
      * Load the current search from an id.
365 365
      *
366
-     * @return bool Success
366
+     * @return null|boolean Success
367 367
      */
368 368
     public function load()
369 369
     {
Please login to merge, or discard this patch.
libraries/classes/Scripts.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
     /**
132 132
      * Add new files to the list of scripts
133 133
      *
134
-     * @param array $filelist The array of file names
134
+     * @param string[] $filelist The array of file names
135 135
      *
136 136
      * @return void
137 137
      */
Please login to merge, or discard this patch.
libraries/classes/SysInfoWINNT.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     /**
57 57
      * Checks whether class is supported in this environment
58 58
      *
59
-     * @return true on success
59
+     * @return boolean on success
60 60
      */
61 61
     public function supported()
62 62
     {
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
      * Reads data from WMI
68 68
      *
69 69
      * @param string $strClass Class to read
70
-     * @param array  $strValue Values to read
70
+     * @param string[]  $strValue Values to read
71 71
      *
72 72
      * @return array with results
73 73
      */
Please login to merge, or discard this patch.
libraries/classes/Table.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
269 269
      * @todo DatabaseInterface::getTablesFull needs to be merged
270 270
      * somehow into this class or at least better documented
271 271
      *
272
-     * @return mixed
272
+     * @return string
273 273
      */
274 274
     public function getStatusInfo(
275 275
         $info = null,
@@ -645,7 +645,7 @@  discard block
 block discarded – undo
645 645
      *                             check ('relwork', 'commwork', ...)
646 646
      * @param string $pma_table    The array index, which PMA-table to update
647 647
      *                             ('bookmark', 'relation', ...)
648
-     * @param array  $get_fields   Which fields will be SELECT'ed from the old entry
648
+     * @param string[]  $get_fields   Which fields will be SELECT'ed from the old entry
649 649
      * @param array  $where_fields Which fields will be used for the WHERE query
650 650
      *                             (array('FIELDNAME' => 'FIELDVALUE'))
651 651
      * @param array  $new_fields   Which fields will be used as new VALUES.
@@ -1905,6 +1905,7 @@  discard block
 block discarded – undo
1905 1905
      *
1906 1906
      * @param Index $index  current index
1907 1907
      * @param bool  &$error whether error occurred or not
1908
+     * @param boolean $error
1908 1909
      *
1909 1910
      * @return string
1910 1911
      */
@@ -2468,7 +2469,7 @@  discard block
 block discarded – undo
2468 2469
     /**
2469 2470
      * Returns the real row count for a table
2470 2471
      *
2471
-     * @return number
2472
+     * @return double
2472 2473
      */
2473 2474
     public function getRealRowCountTable()
2474 2475
     {
Please login to merge, or discard this patch.
libraries/classes/ThemeManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
     /**
80 80
      * Returns the singleton Response object
81 81
      *
82
-     * @return Response object
82
+     * @return ThemeManager object
83 83
      */
84 84
     public static function getInstance()
85 85
     {
Please login to merge, or discard this patch.