Completed
Branch master (8d5465)
by
unknown
31:25
created
includes/page/ImagePage.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -296,7 +296,7 @@  discard block
 block discarded – undo
296 296
 	 *
297 297
 	 * Omit noarticletext if sharedupload; text will be fetched from the
298 298
 	 * shared upload server if possible.
299
-	 * @return string
299
+	 * @return null|Content
300 300
 	 */
301 301
 	public function getContentObject() {
302 302
 		$this->loadFile();
@@ -637,7 +637,7 @@  discard block
 block discarded – undo
637 637
 	 * Make the text under the image to say what size preview
638 638
 	 *
639 639
 	 * @param $params array parameters for thumbnail
640
-	 * @param $sizeLinkBigImagePreview HTML for the current size
640
+	 * @param string $sizeLinkBigImagePreview HTML for the current size
641 641
 	 * @return string HTML output
642 642
 	 */
643 643
 	private function getThumbPrevText( $params, $sizeLinkBigImagePreview ) {
@@ -1212,7 +1212,7 @@  discard block
 block discarded – undo
1212 1212
 
1213 1213
 	/**
1214 1214
 	 * @see WikiFilePage::getFile
1215
-	 * @return bool|File
1215
+	 * @return string
1216 1216
 	 */
1217 1217
 	public function getFile() {
1218 1218
 		return $this->mPage->getFile();
Please login to merge, or discard this patch.
includes/Revision.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -434,7 +434,7 @@  discard block
 block discarded – undo
434 434
 	/**
435 435
 	 * Return the list of revision fields that should be selected to create
436 436
 	 * a new revision.
437
-	 * @return array
437
+	 * @return string[]
438 438
 	 */
439 439
 	public static function selectFields() {
440 440
 		global $wgContentHandlerUseDB;
@@ -465,7 +465,7 @@  discard block
 block discarded – undo
465 465
 	/**
466 466
 	 * Return the list of revision fields that should be selected to create
467 467
 	 * a new revision from an archive row.
468
-	 * @return array
468
+	 * @return string[]
469 469
 	 */
470 470
 	public static function selectArchiveFields() {
471 471
 		global $wgContentHandlerUseDB;
@@ -496,7 +496,7 @@  discard block
 block discarded – undo
496 496
 	/**
497 497
 	 * Return the list of text fields that should be selected to read the
498 498
 	 * revision text
499
-	 * @return array
499
+	 * @return string[]
500 500
 	 */
501 501
 	public static function selectTextFields() {
502 502
 		return [
@@ -507,7 +507,7 @@  discard block
 block discarded – undo
507 507
 
508 508
 	/**
509 509
 	 * Return the list of page fields that should be selected from page table
510
-	 * @return array
510
+	 * @return string[]
511 511
 	 */
512 512
 	public static function selectPageFields() {
513 513
 		return [
@@ -522,7 +522,7 @@  discard block
 block discarded – undo
522 522
 
523 523
 	/**
524 524
 	 * Return the list of user fields that should be selected from user table
525
-	 * @return array
525
+	 * @return string[]
526 526
 	 */
527 527
 	public static function selectUserFields() {
528 528
 		return [ 'user_name' ];
@@ -870,7 +870,7 @@  discard block
 block discarded – undo
870 870
 	/**
871 871
 	 * Fetch revision's user id without regard for the current user's permissions
872 872
 	 *
873
-	 * @return string
873
+	 * @return integer
874 874
 	 * @deprecated since 1.25, use getUser( Revision::RAW )
875 875
 	 */
876 876
 	public function getRawUser() {
@@ -1787,7 +1787,7 @@  discard block
 block discarded – undo
1787 1787
 	 *
1788 1788
 	 * @param Title $title
1789 1789
 	 * @param int $id
1790
-	 * @return string|bool False if not found
1790
+	 * @return string|false False if not found
1791 1791
 	 */
1792 1792
 	static function getTimestampFromId( $title, $id, $flags = 0 ) {
1793 1793
 		$db = ( $flags & self::READ_LATEST )
@@ -1843,7 +1843,7 @@  discard block
 block discarded – undo
1843 1843
 	 * @since 1.20
1844 1844
 	 * @deprecated since 1.24
1845 1845
 	 *
1846
-	 * @param IDatabase|int $db The Database to perform the check on. May be given as a
1846
+	 * @param integer $db The Database to perform the check on. May be given as a
1847 1847
 	 *        Database object or a database identifier usable with wfGetDB.
1848 1848
 	 * @param int $pageId The ID of the page in question
1849 1849
 	 * @param int $userId The ID of the user in question
Please login to merge, or discard this patch.
includes/resourceloader/ResourceLoaderWikiModule.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
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 ) {
@@ -332,7 +332,7 @@  discard block
 block discarded – undo
332 332
 	 * @since 1.28
333 333
 	 * @param ResourceLoaderContext $context
334 334
 	 * @param IDatabase $db
335
-	 * @param string[] $modules
335
+	 * @param string[] $moduleNames
336 336
 	 */
337 337
 	public static function preloadTitleInfo(
338 338
 		ResourceLoaderContext $context, IDatabase $db, array $moduleNames
Please login to merge, or discard this patch.
includes/db/loadbalancer/LoadBalancer.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
 	 * @param string|bool $group Query group, or false for the generic reader
238 238
 	 * @param string|bool $wiki Wiki ID, or false for the current wiki
239 239
 	 * @throws MWException
240
-	 * @return bool|int|string
240
+	 * @return string
241 241
 	 */
242 242
 	public function getReaderIndex( $group = false, $wiki = false ) {
243 243
 		global $wgDBtype;
@@ -438,7 +438,7 @@  discard block
 block discarded – undo
438 438
 	 * Returns false if there is no connection open
439 439
 	 *
440 440
 	 * @param int $i Server index
441
-	 * @return DatabaseBase|bool False on failure
441
+	 * @return DatabaseBase|null False on failure
442 442
 	 */
443 443
 	public function getAnyOpenConnection( $i ) {
444 444
 		foreach ( $this->mConns as $connsByServer ) {
@@ -985,7 +985,7 @@  discard block
 block discarded – undo
985 985
 
986 986
 	/**
987 987
 	 * Get the current master position for chronology control purposes
988
-	 * @return DBMasterPos|bool Returns false if not applicable
988
+	 * @return DBMasterPos Returns false if not applicable
989 989
 	 */
990 990
 	public function getMasterPos() {
991 991
 		# If this entire request was served from a replica DB without opening a connection to the
@@ -1645,7 +1645,7 @@  discard block
 block discarded – undo
1645 1645
 	 * case on many installations.
1646 1646
 	 *
1647 1647
 	 * @param IDatabase $conn
1648
-	 * @return int|bool Returns false on error
1648
+	 * @return integer Returns false on error
1649 1649
 	 */
1650 1650
 	public function safeGetLag( IDatabase $conn ) {
1651 1651
 		if ( $this->getServerCount() == 1 ) {
Please login to merge, or discard this patch.