Completed
Branch master (366b6b)
by
unknown
28:39
created
includes/filerepo/file/UnregisteredLocalFile.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
 	}
179 179
 
180 180
 	/**
181
-	 * @return bool
181
+	 * @return boolean|string
182 182
 	 */
183 183
 	function getMetadata() {
184 184
 		if ( !isset( $this->metadata ) ) {
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
 	}
194 194
 
195 195
 	/**
196
-	 * @return bool|string
196
+	 * @return string|false
197 197
 	 */
198 198
 	function getURL() {
199 199
 		if ( $this->repo ) {
Please login to merge, or discard this patch.
includes/filerepo/ForeignAPIRepo.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
 	}
212 212
 
213 213
 	/**
214
-	 * @param array $data
214
+	 * @param string $data
215 215
 	 * @return bool|array
216 216
 	 */
217 217
 	function getImageInfo( $data ) {
@@ -546,7 +546,7 @@  discard block
 block discarded – undo
546 546
 	 * @param string $target Used in cache key creation, mostly
547 547
 	 * @param array $query The query parameters for the API request
548 548
 	 * @param int $cacheTTL Time to live for the memcached caching
549
-	 * @return null
549
+	 * @return string
550 550
 	 */
551 551
 	public function httpGetCached( $target, $query, $cacheTTL = 3600 ) {
552 552
 		if ( $this->mApiBase ) {
Please login to merge, or discard this patch.
includes/filerepo/ForeignDBViaLBRepo.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
 	 * Get a key on the primary cache for this repository.
85 85
 	 * Returns false if the repository's cache is not accessible at this site.
86 86
 	 * The parameters are the parts of the key, as for wfMemcKey().
87
-	 * @return bool|string
87
+	 * @return string|false
88 88
 	 */
89 89
 	function getSharedCacheKey( /*...*/ ) {
90 90
 		if ( $this->hasSharedCache() ) {
Please login to merge, or discard this patch.
includes/filerepo/RepoGroup.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
 	 * Search repositories for an image.
106 106
 	 * You can also use wfFindFile() to do this.
107 107
 	 *
108
-	 * @param Title|string $title Title object or string
108
+	 * @param string $title Title object or string
109 109
 	 * @param array $options Associative array of options:
110 110
 	 *   time:           requested time for an archived image, or false for the
111 111
 	 *                   current version. An image object will be returned which was
@@ -315,7 +315,7 @@  discard block
 block discarded – undo
315 315
 	/**
316 316
 	 * Get the repo instance with a given key.
317 317
 	 * @param string|int $index
318
-	 * @return bool|LocalRepo
318
+	 * @return string
319 319
 	 */
320 320
 	function getRepo( $index ) {
321 321
 		if ( !$this->reposInitialised ) {
Please login to merge, or discard this patch.
includes/ForkController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -52,6 +52,9 @@
 block discarded – undo
52 52
 	 */
53 53
 	const RESTART_ON_ERROR = 1;
54 54
 
55
+	/**
56
+	 * @param integer $numProcs
57
+	 */
55 58
 	public function __construct( $numProcs, $flags = 0 ) {
56 59
 		if ( PHP_SAPI != 'cli' ) {
57 60
 			throw new MWException( "ForkController cannot be used from the web." );
Please login to merge, or discard this patch.
includes/GitInfo.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -250,7 +250,7 @@  discard block
 block discarded – undo
250 250
 	/**
251 251
 	 * Get an URL to a web viewer link to the HEAD revision.
252 252
 	 *
253
-	 * @return string|bool String if a URL is available or false otherwise
253
+	 * @return false|string String if a URL is available or false otherwise
254 254
 	 */
255 255
 	public function getHeadViewUrl() {
256 256
 		$url = $this->getRemoteUrl();
@@ -381,7 +381,7 @@  discard block
 block discarded – undo
381 381
 
382 382
 	/**
383 383
 	 * @see self::getHeadViewUrl()
384
-	 * @return bool|string
384
+	 * @return false|string
385 385
 	 */
386 386
 	public static function headViewUrl() {
387 387
 		return self::repo()->getHeadViewUrl();
Please login to merge, or discard this patch.
includes/HistoryBlob.php 1 patch
Doc Comments   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -55,6 +55,7 @@  discard block
 block discarded – undo
55 55
 	 * Default text is not required for two-part external storage URLs.
56 56
 	 *
57 57
 	 * @param string $text
58
+	 * @return void
58 59
 	 */
59 60
 	function setText( $text );
60 61
 
@@ -161,7 +162,7 @@  discard block
 block discarded – undo
161 162
 	}
162 163
 
163 164
 	/**
164
-	 * @return array
165
+	 * @return string[]
165 166
 	 */
166 167
 	function __sleep() {
167 168
 		$this->compress();
@@ -531,7 +532,7 @@  discard block
 block discarded – undo
531 532
 	/**
532 533
 	 * @param string $base
533 534
 	 * @param string $diff
534
-	 * @return bool|string
535
+	 * @return string|false
535 536
 	 */
536 537
 	function patch( $base, $diff ) {
537 538
 		if ( function_exists( 'xdiff_string_bpatch' ) ) {
@@ -593,7 +594,7 @@  discard block
 block discarded – undo
593 594
 	 * the bytes backwards and initialised with 0 instead of 1. See bug 34428.
594 595
 	 *
595 596
 	 * @param string $s
596
-	 * @return string|bool False if the hash extension is not available
597
+	 * @return false|string False if the hash extension is not available
597 598
 	 */
598 599
 	function xdiffAdler32( $s ) {
599 600
 		if ( !function_exists( 'hash' ) ) {
@@ -626,7 +627,7 @@  discard block
 block discarded – undo
626 627
 	}
627 628
 
628 629
 	/**
629
-	 * @return array
630
+	 * @return string[]
630 631
 	 */
631 632
 	function __sleep() {
632 633
 		$this->compress();
Please login to merge, or discard this patch.
includes/htmlform/HTMLForm.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -250,7 +250,6 @@  discard block
 block discarded – undo
250 250
 	 * Construct a HTMLForm object for given display type. May return a HTMLForm subclass.
251 251
 	 *
252 252
 	 * @param string $displayFormat
253
-	 * @param mixed $arguments... Additional arguments to pass to the constructor.
254 253
 	 * @return HTMLForm
255 254
 	 */
256 255
 	public static function factory( $displayFormat/*, $arguments...*/ ) {
@@ -1359,7 +1358,7 @@  discard block
 block discarded – undo
1359 1358
 	 * this message as its "<legend>" element.
1360 1359
 	 * @since 1.19
1361 1360
 	 *
1362
-	 * @param string|Message $msg Message key or Message object
1361
+	 * @param string $msg Message key or Message object
1363 1362
 	 *
1364 1363
 	 * @return HTMLForm $this for chaining calls (since 1.20)
1365 1364
 	 */
Please login to merge, or discard this patch.
includes/htmlform/OOUIHTMLForm.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@
 block discarded – undo
155 155
 	 * @param OOUI\FieldLayout[] $fieldsHtml
156 156
 	 * @param string $sectionName
157 157
 	 * @param bool $anyFieldHasLabel Unused
158
-	 * @return string HTML
158
+	 * @return OOUI\FieldsetLayout HTML
159 159
 	 */
160 160
 	protected function formatSection( array $fieldsHtml, $sectionName, $anyFieldHasLabel ) {
161 161
 		$config = array(
Please login to merge, or discard this patch.