Completed
Branch master (366b6b)
by
unknown
28:39
created
includes/changes/EnhancedChangesList.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -447,7 +447,7 @@
 block discarded – undo
447 447
 	/**
448 448
 	 * Generates amount of changes (linking to diff ) & link to history.
449 449
 	 *
450
-	 * @param array $block
450
+	 * @param RCCacheEntry[] $block
451 451
 	 * @param array $queryParams
452 452
 	 * @param bool $allLogs
453 453
 	 * @param bool $isnew
Please login to merge, or discard this patch.
includes/changes/OldChangesList.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
 	 * @param bool $watched (default false)
30 30
 	 * @param int $linenumber (default null)
31 31
 	 *
32
-	 * @return string|bool
32
+	 * @return false|string
33 33
 	 */
34 34
 	public function recentChangesLine( &$rc, $watched = false, $linenumber = null ) {
35 35
 
Please login to merge, or discard this patch.
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/db/DatabaseError.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -328,7 +328,7 @@
 block discarded – undo
328 328
 	/**
329 329
 	 * @param DatabaseBase $db
330 330
 	 * @param string $error
331
-	 * @param int|string $errno
331
+	 * @param integer $errno
332 332
 	 * @param string $sql
333 333
 	 * @param string $fname
334 334
 	 */
Please login to merge, or discard this patch.
includes/db/DatabaseSqlite.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -551,7 +551,7 @@  discard block
 block discarded – undo
551 551
 	 * Filter the options used in SELECT statements
552 552
 	 *
553 553
 	 * @param array $options
554
-	 * @return array
554
+	 * @return string[]
555 555
 	 */
556 556
 	function makeSelectOptions( $options ) {
557 557
 		foreach ( $options as $k => $v ) {
@@ -1048,6 +1048,9 @@  discard block
 block discarded – undo
1048 1048
 class SQLiteField implements Field {
1049 1049
 	private $info, $tableName;
1050 1050
 
1051
+	/**
1052
+	 * @param string $tableName
1053
+	 */
1051 1054
 	function __construct( $info, $tableName ) {
1052 1055
 		$this->info = $info;
1053 1056
 		$this->tableName = $tableName;
Please login to merge, or discard this patch.
includes/db/DatabaseUtility.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -31,6 +31,9 @@
 block discarded – undo
31 31
 	/** @var string */
32 32
 	protected $mData;
33 33
 
34
+	/**
35
+	 * @param string $data
36
+	 */
34 37
 	function __construct( $data ) {
35 38
 		$this->mData = $data;
36 39
 	}
Please login to merge, or discard this patch.
includes/db/DBConnRef.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -30,6 +30,9 @@
 block discarded – undo
30 30
 		}
31 31
 	}
32 32
 
33
+	/**
34
+	 * @param string $name
35
+	 */
33 36
 	function __call( $name, array $arguments ) {
34 37
 		if ( $this->conn === null ) {
35 38
 			list( $db, $groups, $wiki ) = $this->params;
Please login to merge, or discard this patch.