Completed
Branch master (05c729)
by
unknown
20:00
created
includes/api/ApiTag.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -73,6 +73,9 @@
 block discarded – undo
73 73
 		return (bool)$result;
74 74
 	}
75 75
 
76
+	/**
77
+	 * @param string $type
78
+	 */
76 79
 	protected function processIndividual( $type, $params, $id ) {
77 80
 		$idResult = array( $type => $id );
78 81
 
Please login to merge, or discard this patch.
includes/AuthPlugin.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -323,6 +323,10 @@
 block discarded – undo
323 323
 }
324 324
 
325 325
 class AuthPluginUser {
326
+
327
+	/**
328
+	 * @param User $user
329
+	 */
326 330
 	function __construct( $user ) {
327 331
 		# Override this!
328 332
 	}
Please login to merge, or discard this patch.
includes/cache/BacklinkCache.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
 	 * failures after this class is deserialized from cache with dead DB
113 113
 	 * connection.
114 114
 	 *
115
-	 * @return array
115
+	 * @return string[]
116 116
 	 */
117 117
 	function __sleep() {
118 118
 		return array( 'partitionCache', 'fullResultCache', 'title' );
@@ -486,7 +486,7 @@  discard block
 block discarded – undo
486 486
 	/**
487 487
 	 * Get a Title iterator for cascade-protected template/file use backlinks
488 488
 	 *
489
-	 * @return TitleArray
489
+	 * @return TitleArrayFromResult|null
490 490
 	 * @since 1.25
491 491
 	 */
492 492
 	public function getCascadeProtectedLinks() {
Please login to merge, or discard this patch.
includes/cache/CacheHelper.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,6 +33,7 @@  discard block
 block discarded – undo
33 33
 	 *
34 34
 	 * @since 1.20
35 35
 	 * @param bool $cacheEnabled
36
+	 * @return void
36 37
 	 */
37 38
 	function setCacheEnabled( $cacheEnabled );
38 39
 
@@ -44,6 +45,7 @@  discard block
 block discarded – undo
44 45
 	 *
45 46
 	 * @param int|null $cacheExpiry Sets the cache expiry, either ttl in seconds or unix timestamp.
46 47
 	 * @param bool|null $cacheEnabled Sets if the cache should be enabled or not.
48
+	 * @return void
47 49
 	 */
48 50
 	function startCache( $cacheExpiry = null, $cacheEnabled = null );
49 51
 
@@ -68,6 +70,7 @@  discard block
 block discarded – undo
68 70
 	 * Should be called after the last time anything is added via addCachedHTML.
69 71
 	 *
70 72
 	 * @since 1.20
73
+	 * @return void
71 74
 	 */
72 75
 	function saveCache();
73 76
 
@@ -78,6 +81,7 @@  discard block
 block discarded – undo
78 81
 	 * @since 1.20
79 82
 	 *
80 83
 	 * @param int $cacheExpiry
84
+	 * @return void
81 85
 	 */
82 86
 	function setExpiry( $cacheExpiry );
83 87
 }
@@ -259,7 +263,7 @@  discard block
 block discarded – undo
259 263
 	 * @param array|mixed $args
260 264
 	 * @param string|null $key
261 265
 	 *
262
-	 * @return mixed
266
+	 * @return string
263 267
 	 */
264 268
 	public function getCachedValue( $computeFunction, $args = array(), $key = null ) {
265 269
 		$this->initCaching();
Please login to merge, or discard this patch.
includes/cache/FileCacheBase.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
 
99 99
 	/**
100 100
 	 * Get the last-modified timestamp of the cache file
101
-	 * @return string|bool TS_MW timestamp
101
+	 * @return string|false TS_MW timestamp
102 102
 	 */
103 103
 	public function cacheTimestamp() {
104 104
 		$timestamp = filemtime( $this->cachePath() );
Please login to merge, or discard this patch.
includes/cache/MessageCache.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -359,7 +359,7 @@  discard block
 block discarded – undo
359 359
 
360 360
 	/**
361 361
 	 * @param string $code
362
-	 * @param array $where List of wfDebug() comments
362
+	 * @param string[] $where List of wfDebug() comments
363 363
 	 * @param integer $mode Use MessageCache::FOR_UPDATE to use DB_MASTER
364 364
 	 * @return bool|string True on success or one of ("cantacquire", "disabled")
365 365
 	 */
@@ -513,7 +513,7 @@  discard block
 block discarded – undo
513 513
 	 * Updates cache as necessary when message page is changed
514 514
 	 *
515 515
 	 * @param string|bool $title Name of the page changed (false if deleted)
516
-	 * @param mixed $text New contents of the page.
516
+	 * @param string|boolean $text New contents of the page.
517 517
 	 */
518 518
 	public function replace( $title, $text ) {
519 519
 		global $wgMaxMsgCacheEntrySize, $wgContLang, $wgLanguageCode;
@@ -720,7 +720,7 @@  discard block
 block discarded – undo
720 720
 	 * @param bool $isFullKey Specifies whether $key is a two part key "msg/lang".
721 721
 	 *
722 722
 	 * @throws MWException When given an invalid key
723
-	 * @return string|bool False if the message doesn't exist, otherwise the
723
+	 * @return false|string False if the message doesn't exist, otherwise the
724 724
 	 *   message (which can be empty)
725 725
 	 */
726 726
 	function get( $key, $useDB = true, $langcode = true, $isFullKey = false ) {
@@ -799,7 +799,7 @@  discard block
 block discarded – undo
799 799
 	 * the site language.
800 800
 	 *
801 801
 	 * @see MessageCache::get
802
-	 * @param Language|StubObject $lang Preferred language
802
+	 * @param Language $lang Preferred language
803 803
 	 * @param string $lckey Lowercase key for the message (as for localisation cache)
804 804
 	 * @param bool $useDB Whether to include messages from the wiki database
805 805
 	 * @return string|bool The message, or false if not found
@@ -1099,7 +1099,7 @@  discard block
 block discarded – undo
1099 1099
 
1100 1100
 	/**
1101 1101
 	 * @param string $key
1102
-	 * @return array
1102
+	 * @return string[]
1103 1103
 	 */
1104 1104
 	public function figureMessage( $key ) {
1105 1105
 		global $wgLanguageCode;
Please login to merge, or discard this patch.
includes/CategoryViewer.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -188,6 +188,10 @@
 block discarded – undo
188 188
 			$this->getSubcategorySortChar( $cat->getTitle(), $sortkey );
189 189
 	}
190 190
 
191
+	/**
192
+	 * @param string $type
193
+	 * @param string $html
194
+	 */
191 195
 	function generateLink( $type, Title $title, $isRedirect, $html = null ) {
192 196
 		$link = null;
193 197
 		Hooks::run( 'CategoryViewer::generateLink', array( $type, $title, $html, &$link ) );
Please login to merge, or discard this patch.
includes/changes/CategoryMembershipChange.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -207,7 +207,7 @@
 block discarded – undo
207 207
 	 * False will be returned if the user name specified in the
208 208
 	 * 'autochange-username' message is invalid.
209 209
 	 *
210
-	 * @return User|bool
210
+	 * @return null|User
211 211
 	 */
212 212
 	private function getUser() {
213 213
 		if ( $this->revision ) {
Please login to merge, or discard this patch.
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.