Failed Conditions
Branch master (404fd5)
by Rick
07:45
created
Sources/DumpDatabase.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -221,7 +221,7 @@
 block discarded – undo
221 221
 /**
222 222
  * Dummy/helper function, it simply returns the string passed as argument
223 223
  * @param $string, a string
224
- * @return the string passed
224
+ * @return string string passed
225 225
  */
226 226
 function un_compressed($string = '')
227 227
 {
Please login to merge, or discard this patch.
Sources/Errors.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
  *  - uses Errors language file and applies the $sprintf information if specified.
139 139
  *  - the information is logged if log is specified.
140 140
  *
141
- * @param $error
141
+ * @param string $error
142 142
  * @param $log
143 143
  * @param $sprintf
144 144
  */
Please login to merge, or discard this patch.
Sources/Load.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1256,6 +1256,7 @@  discard block
 block discarded – undo
1256 1256
  *
1257 1257
  * Wrapper function for detectBrowser
1258 1258
  * @param $browser: browser we are checking for.
1259
+ * @param string $browser
1259 1260
 */
1260 1261
 function isBrowser($browser)
1261 1262
 {
@@ -1783,9 +1784,9 @@  discard block
 block discarded – undo
1783 1784
  *
1784 1785
  * @uses the template_include() function to include the file.
1785 1786
  * @param string $template_name
1786
- * @param array $style_sheets = array()
1787
+ * @param string $style_sheets = array()
1787 1788
  * @param bool $fatal = true if fatal is true, dies with an error message if the template cannot be found
1788
- * @return bool
1789
+ * @return boolean|null
1789 1790
  */
1790 1791
 function loadTemplate($template_name, $style_sheets = array(), $fatal = true)
1791 1792
 {
@@ -2218,7 +2219,7 @@  discard block
 block discarded – undo
2218 2219
  *
2219 2220
  * @param bool $use_cache = true
2220 2221
  * @param bool $favor_utf8 = true
2221
- * @return array
2222
+ * @return string
2222 2223
  */
2223 2224
 function getLanguages($use_cache = true, $favor_utf8 = true)
2224 2225
 {
Please login to merge, or discard this patch.
Sources/ManagePaid.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1282,7 +1282,7 @@
 block discarded – undo
1282 1282
  *
1283 1283
  * @param int $id_subscribe
1284 1284
  * @param int $id_member
1285
- * @param string $renewal = 0, options 'D', 'W', 'M', 'Y'
1285
+ * @param integer $renewal = 0, options 'D', 'W', 'M', 'Y'
1286 1286
  * @param int $forceStartTime = 0
1287 1287
  * @param int $forceEndTime = 0
1288 1288
  */
Please login to merge, or discard this patch.
Sources/ManagePermissions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2075,7 +2075,7 @@
 block discarded – undo
2075 2075
  * This function updates the permissions of any groups based off this group.
2076 2076
  *
2077 2077
  * @param mixed $parents (array or int)
2078
- * @param mixed $profile = null, int expected
2078
+ * @param integer $profile = null, int expected
2079 2079
  */
2080 2080
 function updateChildPermissions($parents, $profile = null)
2081 2081
 {
Please login to merge, or discard this patch.
Sources/News.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -439,9 +439,10 @@
 block discarded – undo
439 439
  * This function is recursively called to handle sub arrays of data.
440 440
 
441 441
  * @param array $data, the array to output as xml data
442
- * @param int $i, the amount of indentation to use.
443 442
  * @param string $tag, if specified, it will be used instead of the keys of data.
444 443
  * @param string $xml_format
444
+ * @param integer $i
445
+ * @param string $tag
445 446
  */
446 447
 function dumpTags($data, $i, $tag = null, $xml_format = '')
447 448
 {
Please login to merge, or discard this patch.
Sources/Packages.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -2199,6 +2199,9 @@
 block discarded – undo
2199 2199
 	}
2200 2200
 }
2201 2201
 
2202
+/**
2203
+ * @param integer $level
2204
+ */
2202 2205
 function fetchPerms__recursive($path, &$data, $level)
2203 2206
 {
2204 2207
 	global $context;
Please login to merge, or discard this patch.
Sources/PersonalMessage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3656,7 +3656,7 @@
 block discarded – undo
3656 3656
  *
3657 3657
  * @param int $pmID
3658 3658
  * @param $validFor
3659
- * @return bool
3659
+ * @return boolean|null
3660 3660
  */
3661 3661
 function isAccessiblePM($pmID, $validFor = 'in_or_outbox')
3662 3662
 {
Please login to merge, or discard this patch.
Sources/PostModeration.php 1 patch
Doc Comments   -3 removed lines patch added patch discarded remove patch
@@ -603,9 +603,6 @@
 block discarded – undo
603 603
  * Callback function for UnapprovedAttachments
604 604
  * count all the attachments waiting for approval the approver can approve
605 605
  *
606
- * @param int $start
607
- * @param int $items_per_page
608
- * @param string $sort
609 606
  * @param string $approve_query additional restrictions based on the boards the approver can see
610 607
  * @return int, the number of unapproved attachments
611 608
  */
Please login to merge, or discard this patch.