Completed
Pull Request — master (#5)
by
unknown
09:36
created
ChangeOp/Deserialization/DescriptionsChangeOpDeserializationTester.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
 	}
68 68
 
69 69
 	/**
70
-	 * @return DescriptionsProvider|EntityDocument
70
+	 * @return EntityDocument
71 71
 	 */
72 72
 	protected abstract function getEntity();
73 73
 
Please login to merge, or discard this patch.
includes/ChangeOp/Deserialization/LabelsChangeOpDeserializationTester.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
 	}
66 66
 
67 67
 	/**
68
-	 * @return LabelsProvider|EntityDocument
68
+	 * @return EntityDocument
69 69
 	 */
70 70
 	protected abstract function getEntity();
71 71
 
Please login to merge, or discard this patch.
repo/includes/Search/Elastic/Fields/LabelsField.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@
 block discarded – undo
18 18
 	 */
19 19
 	private $languages;
20 20
 
21
+	/**
22
+	 * @param string[] $languages
23
+	 */
21 24
 	public function __construct( $languages ) {
22 25
 		$this->languages = $languages;
23 26
 		parent::__construct( "", \SearchIndexField::INDEX_TYPE_NESTED );
Please login to merge, or discard this patch.
repo/includes/Search/Elastic/Fields/TermIndexField.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
 	 * Produce specific field mapping
61 61
 	 * @param SearchEngine $engine
62 62
 	 * @param string $name
63
-	 * @return SearchIndexField
63
+	 * @return null|TermIndexField
64 64
 	 */
65 65
 	public function getMappingField( SearchEngine $engine, $name ) {
66 66
 		if ( !( $engine instanceof CirrusSearch ) ) {
Please login to merge, or discard this patch.
repo/includes/Specials/SpecialModifyEntity.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@  discard block
 block discarded – undo
7 7
 use Wikibase\ChangeOp\ChangeOp;
8 8
 use Wikibase\ChangeOp\ChangeOpException;
9 9
 use Wikibase\ChangeOp\ChangeOpValidationException;
10
-use Wikibase\CopyrightMessageBuilder;
11 10
 use Wikibase\DataModel\Entity\EntityDocument;
12 11
 use Wikibase\DataModel\Entity\EntityId;
13 12
 use Wikibase\EditEntityFactory;
@@ -18,7 +17,6 @@  discard block
 block discarded – undo
18 17
 use Wikibase\Lib\Store\RevisionedUnresolvedRedirectException;
19 18
 use Wikibase\Lib\Store\StorageException;
20 19
 use Wikibase\Lib\UserInputException;
21
-use Wikibase\Repo\WikibaseRepo;
22 20
 use Wikibase\Summary;
23 21
 use Wikibase\SummaryFormatter;
24 22
 
Please login to merge, or discard this patch.
lib/tests/phpunit/Store/Sql/SqlEntityInfoBuilderTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -106,6 +106,9 @@  discard block
 block discarded – undo
106 106
 			$redirectRows );
107 107
 	}
108 108
 
109
+	/**
110
+	 * @param string $termType
111
+	 */
109 112
 	private function getTermRows( EntityId $id, $termType, $terms ) {
110 113
 		$rows = [];
111 114
 
@@ -152,6 +155,9 @@  discard block
 block discarded – undo
152 155
 		return $page;
153 156
 	}
154 157
 
158
+	/**
159
+	 * @param string $table
160
+	 */
155 161
 	private function insertRows( $table, array $fields, array $rows ) {
156 162
 		$dbw = wfGetDB( DB_MASTER );
157 163
 
Please login to merge, or discard this patch.
repo/tests/phpunit/includes/Store/Sql/SqlEntitiesWithoutTermFinderTest.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -263,6 +263,13 @@  discard block
 block discarded – undo
263 263
 		];
264 264
 	}
265 265
 
266
+	/**
267
+	 * @param integer $numericEntityId
268
+	 * @param string $fullEntityId
269
+	 * @param string $entityType
270
+	 * @param string $languageCode
271
+	 * @param string $termType
272
+	 */
266 273
 	private function getTermRow(
267 274
 		$numericEntityId,
268 275
 		$fullEntityId,
@@ -281,6 +288,11 @@  discard block
 block discarded – undo
281 288
 		];
282 289
 	}
283 290
 
291
+	/**
292
+	 * @param integer $entityNamespace
293
+	 * @param integer $numericEntityId
294
+	 * @param string $entityIdPrefix
295
+	 */
284 296
 	private function getPageRow( $entityNamespace, $numericEntityId, $entityIdPrefix, $isRedirect ) {
285 297
 		return [
286 298
 			'page_namespace' => $entityNamespace,
Please login to merge, or discard this patch.
client/includes/Hooks/MovePageNotice.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
 	 * @param Title &$oldTitle
81 81
 	 * @param Title &$newTitle
82 82
 	 *
83
-	 * @return bool
83
+	 * @return boolean|null
84 84
 	 */
85 85
 	public function doSpecialMovepageAfterMove(
86 86
 		MovePageForm $movePage,
Please login to merge, or discard this patch.
view/src/StatementHtmlGenerator.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -142,6 +142,9 @@
 block discarded – undo
142 142
 		return $this->wrapInListview( $referencesHtml );
143 143
 	}
144 144
 
145
+	/**
146
+	 * @param string $listviewContent
147
+	 */
145 148
 	private function wrapInListview( $listviewContent ) {
146 149
 		if ( $listviewContent !== '' ) {
147 150
 			return $this->templateFactory->render( 'wikibase-listview', $listviewContent );
Please login to merge, or discard this patch.