Completed
Branch master (573807)
by
unknown
34:51
created
includes/widget/NamespaceInputWidget.php 1 patch
Doc Comments   -3 removed lines patch added patch discarded remove patch
@@ -16,9 +16,6 @@
 block discarded – undo
16 16
 
17 17
 	/**
18 18
 	 * @param array $config Configuration options
19
-	 * @param string $config['includeAllValue'] If specified, add a "all namespaces" option to the
20
-	 *     namespace dropdown, and use this as the input value for it
21
-	 * @param number[] $config['exclude'] List of namespace numbers to exclude from the selector
22 19
 	 */
23 20
 	public function __construct( array $config = array() ) {
24 21
 		// Configuration initialization
Please login to merge, or discard this patch.
includes/widget/TitleInputWidget.php 1 patch
Doc Comments   -8 removed lines patch added patch discarded remove patch
@@ -20,14 +20,6 @@
 block discarded – undo
20 20
 
21 21
 	/**
22 22
 	 * @param array $config Configuration options
23
-	 * @param int|null $config['namespace'] Namespace to prepend to queries
24
-	 * @param bool|null $config['relative'] If a namespace is set,
25
-	 *  return a title relative to it (default: true)
26
-	 * @param bool|null $config['suggestions'] Display search suggestions (default: true)
27
-	 * @param bool|null $config['highlightFirst'] Automatically highlight
28
-	 *  the first result (default: true)
29
-	 * @param bool|null $config['validateTitle'] Whether the input must
30
-	 *  be a valid title (default: true)
31 23
 	 */
32 24
 	public function __construct( array $config = array() ) {
33 25
 		// Parent constructor
Please login to merge, or discard this patch.
includes/WikiMap.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
 	 *
110 110
 	 * @todo We can give more info than just the wiki id!
111 111
 	 * @param string $wikiID Wiki'd id (generally database name)
112
-	 * @return string|int Wiki's name or $wiki_id if the wiki was not found
112
+	 * @return string|null Wiki's name or $wiki_id if the wiki was not found
113 113
 	 */
114 114
 	public static function getWikiName( $wikiID ) {
115 115
 		$wiki = WikiMap::getWiki( $wikiID );
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
 	 * @param string $page Page name (must be normalised before calling this function!)
161 161
 	 * @param string|null $fragmentId
162 162
 	 *
163
-	 * @return string|bool URL or false if the wiki was not found
163
+	 * @return string|false URL or false if the wiki was not found
164 164
 	 */
165 165
 	public static function getForeignURL( $wikiID, $page, $fragmentId = null ) {
166 166
 		$wiki = WikiMap::getWiki( $wikiID );
Please login to merge, or discard this patch.
includes/Xml.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
 	 * @param string $inLanguage The ISO code of the language to display the select list in (optional)
200 200
 	 * @param array $overrideAttrs Override the attributes of the select tag (since 1.20)
201 201
 	 * @param Message|null $msg Label message key (since 1.20)
202
-	 * @return array Array containing 2 items: label HTML and select list HTML
202
+	 * @return string[] Array containing 2 items: label HTML and select list HTML
203 203
 	 */
204 204
 	public static function languageSelector( $selected, $customisedOnly = true,
205 205
 		$inLanguage = null, $overrideAttrs = array(), Message $msg = null
@@ -373,7 +373,7 @@  discard block
 block discarded – undo
373 373
 	 * @param string $label Text of the label
374 374
 	 * @param string $name Value of the name attribute
375 375
 	 * @param string $id Id of the input
376
-	 * @param int|bool $size Value of the size attribute
376
+	 * @param integer $size Value of the size attribute
377 377
 	 * @param string|bool $value Value of the value attribute
378 378
 	 * @param array $attribs Other attributes
379 379
 	 * @return string HTML
@@ -395,7 +395,7 @@  discard block
 block discarded – undo
395 395
 	 * @param string|bool $value
396 396
 	 * @param array $attribs
397 397
 	 *
398
-	 * @return array
398
+	 * @return string[]
399 399
 	 */
400 400
 	public static function inputLabelSep( $label, $name, $id, $size = false,
401 401
 		$value = false, $attribs = array()
@@ -677,7 +677,7 @@  discard block
 block discarded – undo
677 677
 	 *    which evaluates to a function object which is called.
678 678
 	 * @param array $args The arguments to pass to the function.
679 679
 	 * @param bool $pretty If true, add non-significant whitespace to improve readability.
680
-	 * @return string|bool String if successful; false upon failure
680
+	 * @return false|string String if successful; false upon failure
681 681
 	 */
682 682
 	public static function encodeJsCall( $name, $args, $pretty = false ) {
683 683
 		foreach ( $args as &$arg ) {
Please login to merge, or discard this patch.
includes/XmlSelect.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
 	}
52 52
 
53 53
 	/**
54
-	 * @param string|array $tagName
54
+	 * @param string $tagName
55 55
 	 */
56 56
 	public function setTagName( $tagName ) {
57 57
 		$this->tagName = $tagName;
Please login to merge, or discard this patch.
languages/classes/LanguageKk.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
 	/**
44 44
 	 * @param Language $langobj
45 45
 	 * @param string $maincode
46
-	 * @param array $variants
46
+	 * @param string[] $variants
47 47
 	 * @param array $variantfallbacks
48 48
 	 * @param array $flags
49 49
 	 */
@@ -322,7 +322,7 @@  discard block
 block discarded – undo
322 322
 	/**
323 323
 	 * @param string $text
324 324
 	 * @param string $toVariant
325
-	 * @return mixed|string
325
+	 * @return string|null
326 326
 	 */
327 327
 	function regsConverter( $text, $toVariant ) {
328 328
 		if ( $text == '' ) {
Please login to merge, or discard this patch.
languages/classes/LanguageKk_cyrl.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -738,7 +738,7 @@
 block discarded – undo
738 738
 
739 739
 	/**
740 740
 	 * @param string $word
741
-	 * @param array $allVowels
741
+	 * @param string[] $allVowels
742 742
 	 * @return array
743 743
 	 */
744 744
 	function lastLetter( $word, $allVowels ) {
Please login to merge, or discard this patch.
languages/classes/LanguageTr.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 
47 47
 	/**
48 48
 	 * @param string $string
49
-	 * @return mixed|string
49
+	 * @return string
50 50
 	 */
51 51
 	function lcfirst( $string ) {
52 52
 		if ( strlen( $string ) && $string[0] == 'I' ) {
Please login to merge, or discard this patch.
languages/classes/LanguageZh.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
 	/**
32 32
 	 * @param Language $langobj
33 33
 	 * @param string $maincode
34
-	 * @param array $variants
34
+	 * @param string[] $variants
35 35
 	 * @param array $variantfallbacks
36 36
 	 * @param array $flags
37 37
 	 * @param array $manualLevel
Please login to merge, or discard this patch.