Completed
Branch master (1655eb)
by
unknown
22:24
created
includes/changes/RecentChange.php 1 patch
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
 	 * @since 1.24
120 120
 	 * @param string|array $type
121 121
 	 * @throws MWException
122
-	 * @return int|array RC_TYPE
122
+	 * @return string RC_TYPE
123 123
 	 */
124 124
 	public static function parseToRCType( $type ) {
125 125
 		if ( is_array( $type ) ) {
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
 	 * Find the first recent change matching some specific conditions
173 173
 	 *
174 174
 	 * @param array $conds Array of conditions
175
-	 * @param mixed $fname Override the method name in profiling/logs
175
+	 * @param string $fname Override the method name in profiling/logs
176 176
 	 * @param int $dbType DB_* constant
177 177
 	 *
178 178
 	 * @return RecentChange|null
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
 	/**
195 195
 	 * Return the list of recentchanges fields that should be selected to create
196 196
 	 * a new recentchanges object.
197
-	 * @return array
197
+	 * @return string[]
198 198
 	 */
199 199
 	public static function selectFields() {
200 200
 		return array(
@@ -919,6 +919,9 @@  discard block
 block discarded – undo
919 919
 		return ChangesList::showCharacterDifference( $old, $new );
920 920
 	}
921 921
 
922
+	/**
923
+	 * @param string $ip
924
+	 */
922 925
 	private static function checkIPAddress( $ip ) {
923 926
 		global $wgRequest;
924 927
 		if ( $ip ) {
Please login to merge, or discard this patch.
includes/changetags/ChangeTags.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
 	 * we consider the tag hidden, and return false.
90 90
 	 *
91 91
 	 * @param string $tag Tag
92
-	 * @return string|bool Tag description or false if tag is to be hidden.
92
+	 * @return string|false Tag description or false if tag is to be hidden.
93 93
 	 * @since 1.25 Returns false if tag is to be hidden.
94 94
 	 */
95 95
 	public static function tagDescription( $tag ) {
@@ -145,6 +145,9 @@  discard block
 block discarded – undo
145 145
 	 * Pass a variable whose value is null if the log_id is not relevant or unknown.
146 146
 	 * @param string $params Params to put in the ct_params field of table
147 147
 	 * 'change_tag' when adding tags
148
+	 * @param integer $rc_id
149
+	 * @param integer $rev_id
150
+	 * @param integer $log_id
148 151
 	 *
149 152
 	 * @throws MWException When $rc_id, $rev_id and $log_id are all null
150 153
 	 * @return array Index 0 is an array of tags actually added, index 1 is an
Please login to merge, or discard this patch.
includes/context/DerivativeContext.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -329,7 +329,6 @@
 block discarded – undo
329 329
 	 * it would set only the original context, and not take
330 330
 	 * into account any changes.
331 331
 	 *
332
-	 * @param mixed $args,... Arguments to wfMessage
333 332
 	 * @return Message
334 333
 	 */
335 334
 	public function msg() {
Please login to merge, or discard this patch.
includes/deferred/CdnCacheUpdate.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
 	/**
49 49
 	 * Create an update object from an array of Title objects, or a TitleArray object
50 50
 	 *
51
-	 * @param Traversable|array $titles
51
+	 * @param TitleArrayFromResult|null $titles
52 52
 	 * @param string[] $urlArr
53 53
 	 * @return CdnCacheUpdate
54 54
 	 */
Please login to merge, or discard this patch.
includes/deferred/SearchUpdate.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
 	 *
47 47
 	 * @param int $id Page id to update
48 48
 	 * @param Title|string $title Title of page to update
49
-	 * @param Content|string|bool $c Content of the page to update. Default: false.
49
+	 * @param Content|null $c Content of the page to update. Default: false.
50 50
 	 *  If a Content object, text will be gotten from it. String is for back-compat.
51 51
 	 *  Passing false tells the backend to just update the title, not the content
52 52
 	 */
Please login to merge, or discard this patch.
includes/deferred/SiteStatsUpdate.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -38,6 +38,12 @@
 block discarded – undo
38 38
 	protected $images = 0;
39 39
 
40 40
 	// @todo deprecate this constructor
41
+
42
+	/**
43
+	 * @param integer $views
44
+	 * @param integer $edits
45
+	 * @param integer $good
46
+	 */
41 47
 	function __construct( $views, $edits, $good, $pages = 0, $users = 0 ) {
42 48
 		$this->edits = $edits;
43 49
 		$this->articles = $good;
Please login to merge, or discard this patch.
includes/exception/BadTitleError.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
  */
29 29
 class BadTitleError extends ErrorPageError {
30 30
 	/**
31
-	 * @param string|Message|MalformedTitleException $msg A message key (default: 'badtitletext'), or
31
+	 * @param MalformedTitleException $msg A message key (default: 'badtitletext'), or
32 32
 	 *     a MalformedTitleException to figure out things from
33 33
 	 * @param array $params Parameter to wfMessage()
34 34
 	 */
Please login to merge, or discard this patch.
includes/exception/MWException.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -265,6 +265,10 @@
 block discarded – undo
265 265
 			header( $header );
266 266
 		}
267 267
 	}
268
+
269
+	/**
270
+	 * @param integer $code
271
+	 */
268 272
 	private static function statusHeader( $code ) {
269 273
 		if ( !headers_sent() ) {
270 274
 			HttpStatus::header( $code );
Please login to merge, or discard this patch.
includes/exception/MWExceptionHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@
 block discarded – undo
159 159
 	 *   }
160 160
 	 *
161 161
 	 * @since 1.25
162
-	 * @param Exception|Throwable $e
162
+	 * @param Exception $e
163 163
 	 */
164 164
 	public static function handleException( $e ) {
165 165
 		try {
Please login to merge, or discard this patch.