Completed
Branch master (7435b4)
by
unknown
27:45
created
includes/libs/StatusValue.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@
 block discarded – undo
167 167
 	 * Add an error and set OK to false, indicating that the operation
168 168
 	 * as a whole was fatal
169 169
 	 *
170
-	 * @param string|MessageSpecifier $message Message key or object
170
+	 * @param string $message Message key or object
171 171
 	 */
172 172
 	public function fatal( $message /*, parameters... */ ) {
173 173
 		$this->errors[] = [
Please login to merge, or discard this patch.
includes/libs/stats/NullStatsdDataFactory.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,6 @@  discard block
 block discarded – undo
53 53
 	 * This function creates a 'increment' StatsdData object.
54 54
 	 *
55 55
 	 * @param string|array $key The metric(s) to increment.
56
-	 * @param float|1      $sampleRate The rate (0-1) for sampling.
57 56
 	 *
58 57
 	 * @return array
59 58
 	 **/
@@ -66,7 +65,6 @@  discard block
 block discarded – undo
66 65
 	 *
67 66
 	 *
68 67
 	 * @param string|array $key The metric(s) to decrement.
69
-	 * @param float|1      $sampleRate The rate (0-1) for sampling.
70 68
 	 *
71 69
 	 * @return mixed
72 70
 	 **/
Please login to merge, or discard this patch.
includes/collation/Collation.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 	 * @since 1.16.3
44 44
 	 * @throws MWException
45 45
 	 * @param string $collationName
46
-	 * @return Collation
46
+	 * @return string
47 47
 	 */
48 48
 	public static function factory( $collationName ) {
49 49
 		switch ( $collationName ) {
Please login to merge, or discard this patch.
includes/collation/IcuCollation.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -167,6 +167,9 @@  discard block
 block discarded – undo
167 167
 	 */
168 168
 	const RECORD_LENGTH = 14;
169 169
 
170
+	/**
171
+	 * @param string $locale
172
+	 */
170 173
 	public function __construct( $locale ) {
171 174
 		if ( !extension_loaded( 'intl' ) ) {
172 175
 			throw new MWException( 'An ICU collation was requested, ' .
@@ -388,6 +391,7 @@  discard block
 block discarded – undo
388 391
 
389 392
 	/**
390 393
 	 * @since 1.16.3
394
+	 * @param integer $index
391 395
 	 */
392 396
 	public function getLetterByIndex( $index ) {
393 397
 		if ( $this->firstLetterData === null ) {
@@ -449,7 +453,7 @@  discard block
 block discarded – undo
449 453
 	 * currently in use, or false when it can't be determined.
450 454
 	 *
451 455
 	 * @since 1.21
452
-	 * @return string|bool
456
+	 * @return false|string
453 457
 	 */
454 458
 	static function getUnicodeVersionForICU() {
455 459
 		$icuVersion = IcuCollation::getICUVersion();
Please login to merge, or discard this patch.
includes/site/SiteSQLStore.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
 	 *             instead.
40 40
 	 *
41 41
 	 * @param null $sitesTable IGNORED
42
-	 * @param null $cache IGNORED
42
+	 * @param null|BagOStuff $cache IGNORED
43 43
 	 *
44 44
 	 * @return SiteStore
45 45
 	 */
Please login to merge, or discard this patch.
includes/utils/AutoloadGenerator.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
 	 * Updates the AutoloadClasses field at the given
123 123
 	 * filename.
124 124
 	 *
125
-	 * @param {string} $filename Filename of JSON
125
+	 * @param string $filename Filename of JSON
126 126
 	 *  extension/skin registration file
127 127
 	 */
128 128
 	protected function generateJsonAutoload( $filename ) {
@@ -157,8 +157,8 @@  discard block
 block discarded – undo
157 157
 	/**
158 158
 	 * Generates a PHP file setting up autoload information.
159 159
 	 *
160
-	 * @param {string} $commandName Command name to include in comment
161
-	 * @param {string} $filename of PHP file to put autoload information in.
160
+	 * @param string $commandName Command name to include in comment
161
+	 * @param string $filename of PHP file to put autoload information in.
162 162
 	 */
163 163
 	protected function generatePHPAutoload( $commandName, $filename ) {
164 164
 		// No existing JSON file found; update/generate PHP file
Please login to merge, or discard this patch.
includes/utils/ClassCollector.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@
 block discarded – undo
27 27
 
28 28
 	/**
29 29
 	 * @var string $code PHP code (including <?php) to detect class names from
30
+	 * @param string $code
30 31
 	 * @return array List of FQCN detected within the tokens
31 32
 	 */
32 33
 	public function getClasses( $code ) {
Please login to merge, or discard this patch.