Completed
Pull Request — master (#4)
by
unknown
08:24
created
repo/includes/Hooks/LinkBeginHookHandler.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
 	}
204 204
 
205 205
 	/**
206
-	 * @param array $termsByLanguage
206
+	 * @param string[] $termsByLanguage
207 207
 	 *
208 208
 	 * @return string[]|null
209 209
 	 */
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
 	 *
225 225
 	 * @param Title|null $currentTitle
226 226
 	 * @param RequestContext $context
227
-	 * @return bool
227
+	 * @return null|boolean
228 228
 	 */
229 229
 	private function shouldConvert( Title $currentTitle = null, RequestContext $context ) {
230 230
 		static $shouldConvert = null;
Please login to merge, or discard this patch.
DataAccess/PropertyParserFunction/StatementGroupRendererFactoryTest.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -302,6 +302,13 @@
 block discarded – undo
302 302
 		return $parser;
303 303
 	}
304 304
 
305
+	/**
306
+	 * @param string $languageCode
307
+	 * @param string $userLanguageCode
308
+	 * @param boolean $interfaceMessage
309
+	 * @param boolean $disableContentConversion
310
+	 * @param boolean $disableTitleConversion
311
+	 */
305 312
 	private function getParserOptions( $languageCode, $userLanguageCode, $interfaceMessage,
306 313
 		$disableContentConversion, $disableTitleConversion
307 314
 	) {
Please login to merge, or discard this patch.
repo/includes/Hooks/OutputPageBeforeHTMLHookHandler.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
 	 * @param OutputPage $out
117 117
 	 * @param string &$html the HTML to mangle
118 118
 	 *
119
-	 * @return bool
119
+	 * @return boolean|null
120 120
 	 */
121 121
 	public static function onOutputPageBeforeHTML( OutputPage $out, &$html ) {
122 122
 		$self = self::newFromGlobalState();
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
 	 * @param OutputPage $out
129 129
 	 * @param string &$html
130 130
 	 *
131
-	 * @return bool
131
+	 * @return boolean|null
132 132
 	 */
133 133
 	public function doOutputPageBeforeHTML( OutputPage $out, &$html ) {
134 134
 		$placeholders = $out->getProperty( 'wikibase-view-chunks' );
Please login to merge, or discard this patch.
lib/includes/Store/ChunkCache.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -211,7 +211,7 @@
 block discarded – undo
211 211
 	 * @param int $before insert into the internal entry list before this position.
212 212
 	 *
213 213
 	 * @throws MWException
214
-	 * @return array|bool the cache entry created by inserting the new chunk, or false if
214
+	 * @return integer|null the cache entry created by inserting the new chunk, or false if
215 215
 	 *         there is no more data to load from the source at the given position.
216 216
 	 *         The cache entry is an associative array containing the following keys:
217 217
 	 *         - start: the key the chunk starts at
Please login to merge, or discard this patch.
lib/tests/phpunit/Formatters/TimeDetailsFormatterTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
 
42 42
 	/**
43 43
 	 * @param string $timestamp
44
-	 * @param int|string $timezone
44
+	 * @param integer $timezone
45 45
 	 * @param int|string $before
46 46
 	 * @param int|string $after
47 47
 	 * @param int|string $precision
Please login to merge, or discard this patch.
lib/tests/phpunit/Store/CachingEntityRevisionLookupTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
 	 * @param EntityRevision[] $entityRevisions
29 29
 	 * @param EntityRedirect[] $entityRedirects
30 30
 	 *
31
-	 * @return EntityLookup
31
+	 * @return CachingEntityRevisionLookup
32 32
 	 */
33 33
 	protected function newEntityRevisionLookup( array $entityRevisions, array $entityRedirects ) {
34 34
 		$mock = new MockRepository();
Please login to merge, or discard this patch.
repo/tests/phpunit/includes/ChangeOp/ChangeOpTestMockProvider.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
 	/**
85 85
 	 * Convenience method for creating Statements.
86 86
 	 *
87
-	 * @param string|PropertyId $propertyId
87
+	 * @param string $propertyId
88 88
 	 *
89 89
 	 * @param string|int|float|DataValue|null $value The value of the new
90 90
 	 *        claim's main snak. Null will result in a PropertyNoValueSnak.
Please login to merge, or discard this patch.
repo/tests/phpunit/includes/Store/Sql/WikiPageEntityStoreTest.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -543,6 +543,9 @@
 block discarded – undo
543 543
 		$this->assertEntityPerPage( false, $entityId );
544 544
 	}
545 545
 
546
+	/**
547
+	 * @param boolean $expected
548
+	 */
546 549
 	private function assertEntityPerPage( $expected, EntityId $entityId ) {
547 550
 		$pageId = $this->getPageId( $entityId );
548 551
 
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Wikibase\Repo\Tests\Store\Sql;
4 4
 
5 5
 use InvalidArgumentException;
6
-use MediaWiki\MediaWikiServices;
7 6
 use MediaWikiTestCase;
8 7
 use RawMessage;
9 8
 use Revision;
Please login to merge, or discard this patch.
client/includes/Hooks/EchoNotificationsHandlers.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -235,7 +235,7 @@
 block discarded – undo
235 235
 	 *
236 236
 	 * @param DiffOp $siteLinkDiffOp
237 237
 	 *
238
-	 * @return Title|false
238
+	 * @return \Wikibase\DataModel\Entity\EntityId
239 239
 	 */
240 240
 	private function getTitleForNotification( DiffOp $siteLinkDiffOp ) {
241 241
 		if ( $siteLinkDiffOp instanceof DiffOpAdd ) {
Please login to merge, or discard this patch.