Completed
Branch master (e09cc5)
by
unknown
29:18
created
includes/htmlform/fields/HTMLDateTimeField.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -142,6 +142,9 @@
 block discarded – undo
142 142
 		}
143 143
 	}
144 144
 
145
+	/**
146
+	 * @param integer $value
147
+	 */
145 148
 	protected function formatDate( $value ) {
146 149
 		switch ( $this->mType ) {
147 150
 			case 'date':
Please login to merge, or discard this patch.
includes/widget/DateTimeInputWidget.php 1 patch
Doc Comments   -4 removed lines patch added patch discarded remove patch
@@ -21,10 +21,6 @@
 block discarded – undo
21 21
 
22 22
 	/**
23 23
 	 * @param array $config Configuration options
24
-	 * @param string $config['type'] 'date', 'time', or 'datetime'
25
-	 * @param string $config['min'] Minimum date, time, or datetime
26
-	 * @param string $config['max'] Maximum date, time, or datetime
27
-	 * @param bool $config['clearable'] Whether to provide for blanking the value.
28 24
 	 */
29 25
 	public function __construct( array $config = [] ) {
30 26
 		// We need $this->type set before calling the parent constructor
Please login to merge, or discard this patch.
includes/specialpage/AuthManagerSpecialPage.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
 	 * Get the default action for this special page, if none is given via URL/POST data.
197 197
 	 * Subclasses should override this (or override loadAuth() so this is never called).
198 198
 	 * @param string $subPage Subpage of the special page.
199
-	 * @return string an AuthManager::ACTION_* constant.
199
+	 * @return string|null an AuthManager::ACTION_* constant.
200 200
 	 */
201 201
 	protected function getDefaultAction( $subPage ) {
202 202
 		throw new BadMethodCallException( 'Subclass did not implement getDefaultAction' );
@@ -732,7 +732,7 @@  discard block
 block discarded – undo
732 732
 	 * Get an array value, or a default if it does not exist.
733 733
 	 * @param array $array
734 734
 	 * @param string $fieldName
735
-	 * @param mixed $default
735
+	 * @param integer $default
736 736
 	 * @return mixed
737 737
 	 */
738 738
 	protected static function getField( array $array, $fieldName, $default = null ) {
Please login to merge, or discard this patch.
includes/PrefixSearch.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -186,6 +186,11 @@
 block discarded – undo
186 186
 			$this->handleResultFromHook( $srchres, $namespaces, $search, $limit, $offset ) );
187 187
 	}
188 188
 
189
+	/**
190
+	 * @param string $search
191
+	 * @param integer $limit
192
+	 * @param integer $offset
193
+	 */
189 194
 	private function handleResultFromHook( $srchres, $namespaces, $search, $limit, $offset ) {
190 195
 		if ( $offset === 0 ) {
191 196
 			// Only perform exact db match if offset === 0
Please login to merge, or discard this patch.
includes/resourceloader/ResourceLoaderWikiModule.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -136,14 +136,14 @@  discard block
 block discarded – undo
136 136
 	 * NOTE: This ONLY works for getTitleInfo() and isKnownEmpty(), NOT FOR ANYTHING ELSE.
137 137
 	 * In particular, it doesn't work for getContent() or getScript() etc.
138 138
 	 *
139
-	 * @return IDatabase|null
139
+	 * @return Database|null
140 140
 	 */
141 141
 	protected function getDB() {
142 142
 		return wfGetDB( DB_REPLICA );
143 143
 	}
144 144
 
145 145
 	/**
146
-	 * @param string $title
146
+	 * @param string $titleText
147 147
 	 * @return null|string
148 148
 	 */
149 149
 	protected function getContent( $titleText ) {
@@ -336,7 +336,7 @@  discard block
 block discarded – undo
336 336
 	 * @since 1.28
337 337
 	 * @param ResourceLoaderContext $context
338 338
 	 * @param IDatabase $db
339
-	 * @param string[] $modules
339
+	 * @param string[] $moduleNames
340 340
 	 */
341 341
 	public static function preloadTitleInfo(
342 342
 		ResourceLoaderContext $context, IDatabase $db, array $moduleNames
Please login to merge, or discard this patch.
maintenance/dumpIterator.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -152,6 +152,10 @@
 block discarded – undo
152 152
 	}
153 153
 
154 154
 	/* Core function which does whatever the maintenance script is designed to do */
155
+
156
+	/**
157
+	 * @param Database $rev
158
+	 */
155 159
 	abstract public function processRevision( $rev );
156 160
 }
157 161
 
Please login to merge, or discard this patch.
maintenance/Maintenance.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -295,7 +295,7 @@  discard block
 block discarded – undo
295 295
 	/**
296 296
 	 * Get an argument.
297 297
 	 * @param int $argId The integer value (from zero) for the arg
298
-	 * @param mixed $default The default if it doesn't exist
298
+	 * @param string $default The default if it doesn't exist
299 299
 	 * @return mixed
300 300
 	 */
301 301
 	protected function getArg( $argId = 0, $default = null ) {
@@ -1344,6 +1344,7 @@  discard block
 block discarded – undo
1344 1344
 	 * Unlock and lock again
1345 1345
 	 * Since the lock is low-priority, queued reads will be able to complete
1346 1346
 	 * @param Database &$db
1347
+	 * @param Database $db
1347 1348
 	 */
1348 1349
 	private function relockSearchindex( $db ) {
1349 1350
 		$this->unlockSearchindex( $db );
Please login to merge, or discard this patch.