Completed
Branch master (cb2f26)
by
unknown
30:03
created
includes/page/WikiPage.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
 	 * Return the list of revision fields that should be selected to create
258 258
 	 * a new page.
259 259
 	 *
260
-	 * @return array
260
+	 * @return string[]
261 261
 	 */
262 262
 	public static function selectFields() {
263 263
 		global $wgContentHandlerUseDB, $wgPageLanguageUseDB;
@@ -1144,7 +1144,7 @@  discard block
 block discarded – undo
1144 1144
 	 * @param IDatabase $dbw
1145 1145
 	 * @param int|null $pageId Custom page ID that will be used for the insert statement
1146 1146
 	 *
1147
-	 * @return bool|int The newly created page_id key; false if the row was not
1147
+	 * @return integer The newly created page_id key; false if the row was not
1148 1148
 	 *   inserted, e.g. because the title already existed or because the specified
1149 1149
 	 *   page ID is already in use.
1150 1150
 	 */
@@ -1491,7 +1491,7 @@  discard block
 block discarded – undo
1491 1491
 	 * error will be returned. These two conditions are also possible with
1492 1492
 	 * auto-detection due to MediaWiki's performance-optimised locking strategy.
1493 1493
 	 *
1494
-	 * @param bool|int $baseRevId The revision ID this edit was based off, if any.
1494
+	 * @param boolean $baseRevId The revision ID this edit was based off, if any.
1495 1495
 	 *   This is not the parent revision ID, rather the revision ID for older
1496 1496
 	 *   content used as the source for a rollback, for example.
1497 1497
 	 * @param User $user The user doing the edit
@@ -3370,7 +3370,7 @@  discard block
 block discarded – undo
3370 3370
 	 * Returns a list of categories this page is a member of.
3371 3371
 	 * Results will include hidden categories
3372 3372
 	 *
3373
-	 * @return TitleArray
3373
+	 * @return TitleArrayFromResult|null
3374 3374
 	 */
3375 3375
 	public function getCategories() {
3376 3376
 		$id = $this->getId();
@@ -3445,7 +3445,7 @@  discard block
 block discarded – undo
3445 3445
 	 * Auto-generates a deletion reason
3446 3446
 	 *
3447 3447
 	 * @param bool &$hasHistory Whether the page has a history
3448
-	 * @return string|bool String containing deletion reason or empty string, or boolean false
3448
+	 * @return false|string String containing deletion reason or empty string, or boolean false
3449 3449
 	 *    if no revision occurred
3450 3450
 	 */
3451 3451
 	public function getAutoDeleteReason( &$hasHistory ) {
Please login to merge, or discard this patch.
includes/resourceloader/ResourceLoader.php 1 patch
Doc Comments   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -207,6 +207,10 @@  discard block
 block discarded – undo
207 207
 		return $result;
208 208
 	}
209 209
 
210
+	/**
211
+	 * @param string $filter
212
+	 * @param string $data
213
+	 */
210 214
 	private static function applyFilter( $filter, $data ) {
211 215
 		$data = trim( $data );
212 216
 		if ( $data ) {
@@ -309,7 +313,7 @@  discard block
 block discarded – undo
309 313
 	 * @throws MWException If a duplicate module registration is attempted
310 314
 	 * @throws MWException If a module name contains illegal characters (pipes or commas)
311 315
 	 * @throws MWException If something other than a ResourceLoaderModule is being registered
312
-	 * @return bool False if there were any errors, in which case one or more modules were
316
+	 * @return boolean|null False if there were any errors, in which case one or more modules were
313 317
 	 *   not registered
314 318
 	 */
315 319
 	public function register( $name, $info = null ) {
@@ -573,7 +577,7 @@  discard block
 block discarded – undo
573 577
 	/**
574 578
 	 * Get the list of sources.
575 579
 	 *
576
-	 * @return array Like [ id => load.php url, ... ]
580
+	 * @return string Like [ id => load.php url, ... ]
577 581
 	 */
578 582
 	public function getSources() {
579 583
 		return $this->sources;
Please login to merge, or discard this patch.
maintenance/hhvm/makeRepo.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -129,6 +129,9 @@
 block discarded – undo
129 129
 		return 0;
130 130
 	}
131 131
 
132
+	/**
133
+	 * @param string $tmpDir
134
+	 */
132 135
 	private function cleanupTemp( $tmpDir ) {
133 136
 		if ( file_exists( "$tmpDir/hhvm.hhbc" ) ) {
134 137
 			unlink( "$tmpDir/hhvm.hhbc" );
Please login to merge, or discard this patch.