Completed
Pull Request — master (#5)
by
unknown
09:36
created
repo/tests/phpunit/maintenance/dumpJsonTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -166,6 +166,9 @@
 block discarded – undo
166 166
 		return $mockDataTypeLookup;
167 167
 	}
168 168
 
169
+	/**
170
+	 * @param string $string
171
+	 */
169 172
 	private function fixLineEndings( $string ) {
170 173
 		return preg_replace( '~(*BSR_ANYCRLF)\R~', "\n", $string );
171 174
 	}
Please login to merge, or discard this patch.
repo/tests/phpunit/includes/EntityModificationTestHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@
 block discarded – undo
144 144
 	 * @param array $data
145 145
 	 * @param EntityId|string|null $id
146 146
 	 *
147
-	 * @return object
147
+	 * @return EntityDocument
148 148
 	 */
149 149
 	public function unserializeEntity( array $data, $id = null ) {
150 150
 		if ( $id !== null ) {
Please login to merge, or discard this patch.
repo/tests/phpunit/includes/ChangeOp/ChangeOpsMergeTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -144,6 +144,9 @@
 block discarded – undo
144 144
 		);
145 145
 	}
146 146
 
147
+	/**
148
+	 * @param string $idString
149
+	 */
147 150
 	private function newItemWithId( $idString ) {
148 151
 		return new Item( new ItemId( $idString ) );
149 152
 	}
Please login to merge, or discard this patch.
repo/includes/ChangeDispatcher.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -451,6 +451,9 @@
 block discarded – undo
451 451
 		}
452 452
 	}
453 453
 
454
+	/**
455
+	 * @param string $message
456
+	 */
454 457
 	private function log( $message ) {
455 458
 		$this->messageReporter->reportMessage( $message );
456 459
 	}
Please login to merge, or discard this patch.
repo/includes/ParserOutput/EntityParserOutputDataUpdater.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -56,6 +56,9 @@
 block discarded – undo
56 56
 		$this->dataUpdaters = $dataUpdaters;
57 57
 	}
58 58
 
59
+	/**
60
+	 * @param ParserOutputDataUpdater $updater
61
+	 */
59 62
 	private function registerDataUpdater( $updater ) {
60 63
 		if ( !( $updater instanceof StatementDataUpdater ) &&
61 64
 		     !( $updater instanceof SiteLinkDataUpdater )
Please login to merge, or discard this patch.
repo/includes/GenericEventDispatcher.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
 	 * @param object $listener
44 44
 	 *
45 45
 	 * @throws InvalidArgumentException
46
-	 * @return mixed The listener key, for removing the listener later.
46
+	 * @return integer The listener key, for removing the listener later.
47 47
 	 */
48 48
 	public function registerWatcher( $listener ) {
49 49
 		if ( !is_subclass_of( $listener, $this->interface ) ) {
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 	 * Unregisters a watcher using its registration key. The watcher will no longer
60 60
 	 * be called by dispatch().
61 61
 	 *
62
-	 * @param mixed $key A watcher key as returned by registerWatcher().
62
+	 * @param integer $key A watcher key as returned by registerWatcher().
63 63
 	 *
64 64
 	 * @throws InvalidArgumentException
65 65
 	 */
Please login to merge, or discard this patch.
client/includes/Specials/SpecialUnconnectedPages.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -162,8 +162,8 @@
 block discarded – undo
162 162
 	/**
163 163
 	 * @see QueryPage::reallyDoQuery
164 164
 	 *
165
-	 * @param int|bool $limit
166
-	 * @param int|bool $offset
165
+	 * @param integer $limit
166
+	 * @param integer $offset
167 167
 	 *
168 168
 	 * @return ResultWrapper
169 169
 	 */
Please login to merge, or discard this patch.
repo/includes/Rdf/RdfBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -210,7 +210,7 @@
 block discarded – undo
210 210
 	/**
211 211
 	 * Returns a map of namespace names to URIs
212 212
 	 *
213
-	 * @return array
213
+	 * @return string[]
214 214
 	 */
215 215
 	public function getNamespaces() {
216 216
 		return $this->vocabulary->getNamespaces();
Please login to merge, or discard this patch.
repo/includes/Store/Sql/SqlStore.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -183,7 +183,7 @@
 block discarded – undo
183 183
 	/**
184 184
 	 * @see Store::getLabelConflictFinder
185 185
 	 *
186
-	 * @return LabelConflictFinder
186
+	 * @return TermIndex
187 187
 	 */
188 188
 	public function getLabelConflictFinder() {
189 189
 		return $this->getTermIndex();
Please login to merge, or discard this patch.