Completed
Pull Request — master (#4)
by
unknown
08:24
created
client/includes/Hooks/MovePageNotice.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
 	 * @param Title &$oldTitle
88 88
 	 * @param Title &$newTitle
89 89
 	 *
90
-	 * @return bool
90
+	 * @return boolean|null
91 91
 	 */
92 92
 	public function doSpecialMovepageAfterMove( MovePageForm $movePage, Title &$oldTitle,
93 93
 		Title &$newTitle ) {
Please login to merge, or discard this patch.
client/tests/phpunit/includes/DataAccess/Scribunto/EntityAccessorTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -75,6 +75,9 @@
 block discarded – undo
75 75
 		);
76 76
 	}
77 77
 
78
+	/**
79
+	 * @param EntityUsage[] $actualUsages
80
+	 */
78 81
 	private function hasUsage( $actualUsages, EntityId $entityId, $aspect ) {
79 82
 		$usage = new EntityUsage( $entityId, $aspect );
80 83
 		$key = $usage->getIdentityString();
Please login to merge, or discard this patch.
tests/phpunit/includes/DataAccess/WikibaseDataAccessTestItemSetUpHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
 	/**
141 141
 	 * @param ItemId $id
142 142
 	 * @param string[] $labels
143
-	 * @param Statement[]|null $statements
143
+	 * @param Statement[] $statements
144 144
 	 * @param SiteLink[]|null $siteLinks
145 145
 	 *
146 146
 	 * @return Item
Please login to merge, or discard this patch.
client/WikibaseClient.hooks.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
 	 * @param bool $local shall links be generated locally or globally
188 188
 	 * @param string|null $wikiId The ID of the wiki the comment applies to, if not the local wiki.
189 189
 	 *
190
-	 * @return bool
190
+	 * @return boolean|null
191 191
 	 */
192 192
 	public static function onFormat( &$comment, $pre, $auto, $post, $title, $local, $wikiId = null ) {
193 193
 		global $wgContLang;
@@ -576,7 +576,7 @@  discard block
 block discarded – undo
576 576
 	 * @param string $name
577 577
 	 * @param string &$html
578 578
 	 *
579
-	 * @return boolean
579
+	 * @return boolean|null
580 580
 	 */
581 581
 	public static function onBaseTemplateAfterPortlet( BaseTemplate $skinTemplate, $name, &$html ) {
582 582
 		$handler = new BaseTemplateAfterPortletHandler();
Please login to merge, or discard this patch.
repo/includes/ChangeOp/ChangeOpsMerge.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -279,7 +279,7 @@
 block discarded – undo
279 279
 	 *
280 280
 	 * @param Statement $fromStatement
281 281
 	 *
282
-	 * @return Statement|false Statement to merge reference into or false
282
+	 * @return Statement Statement to merge reference into or false
283 283
 	 */
284 284
 	private function findEquivalentStatement( $fromStatement ) {
285 285
 		$fromHash = $this->getStatementHash( $fromStatement );
Please login to merge, or discard this patch.
repo/includes/Dumpers/JsonDumpGenerator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@
 block discarded – undo
162 162
 	 *
163 163
 	 * @TODO FIXME duplicated / similar code in Repo ResultBuilder
164 164
 	 *
165
-	 * @return array
165
+	 * @return string
166 166
 	 */
167 167
 	private function injectEntitySerializationWithDataTypes( array $serialization ) {
168 168
 		$serialization = $this->modifier->modifyUsingCallback(
Please login to merge, or discard this patch.
repo/includes/Parsers/MwTimeIsoParser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -178,7 +178,7 @@
 block discarded – undo
178 178
 	/**
179 179
 	 * @param string $msgKey
180 180
 	 *
181
-	 * @return boolean
181
+	 * @return string
182 182
 	 */
183 183
 	private function isBceMsg( $msgKey ) {
184 184
 		return strstr( $msgKey, '-BCE-' );
Please login to merge, or discard this patch.
repo/includes/SummaryFormatter.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -232,6 +232,9 @@
 block discarded – undo
232 232
 		return $list;
233 233
 	}
234 234
 
235
+	/**
236
+	 * @param string $value
237
+	 */
235 238
 	private function formatIfEntityId( $value ) {
236 239
 		try {
237 240
 			return $this->idFormatter->formatEntityId( $this->idParser->parse( $value ) );
Please login to merge, or discard this patch.
repo/includes/UpdateRepo/UpdateRepoJob.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
 	abstract protected function applyChanges( Item $item );
104 104
 
105 105
 	/**
106
-	 * @return Item|null
106
+	 * @return null|\Wikibase\DataModel\Entity\EntityDocument
107 107
 	 */
108 108
 	private function getItem() {
109 109
 		$params = $this->getParams();
Please login to merge, or discard this patch.