Completed
Pull Request — master (#3)
by
unknown
07:49
created
repo/includes/Api/ResultBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1090,7 +1090,7 @@
 block discarded – undo
1090 1090
 	 * @since 0.5
1091 1091
 	 *
1092 1092
 	 * @param Status $status The status to get the revision ID from.
1093
-	 * @param string|null|array $path Where in the result to put the revision id
1093
+	 * @param string $path Where in the result to put the revision id
1094 1094
 	 * @param int|null $oldRevId The id of the latest revision of the entity before
1095 1095
 	 *        the last (possibly null) edit
1096 1096
 	 */
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.
repo/includes/Store/Sql/WikiPageEntityStore.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -184,7 +184,7 @@
 block discarded – undo
184 184
 	 * @param int|bool $baseRevId
185 185
 	 *
186 186
 	 * @throws StorageException
187
-	 * @return Revision The new revision (or the latest one, in case of a null edit).
187
+	 * @return EntityDocument The new revision (or the latest one, in case of a null edit).
188 188
 	 */
189 189
 	private function saveEntityContent(
190 190
 		EntityContent $entityContent,
Please login to merge, or discard this patch.
repo/tests/phpunit/includes/Actions/ActionTestCase.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
 	/**
147 147
 	 * Creates an action and supplies it with a fake web request.
148 148
 	 *
149
-	 * @param String|Action $action the action to call, may be an action name or class name.
149
+	 * @param string $action the action to call, may be an action name or class name.
150 150
 	 * @param WikiPage  $page the wiki page to call the action on
151 151
 	 * @param array|null $params request parameters
152 152
 	 * @param bool       $post posted?
@@ -324,6 +324,10 @@  discard block
 block discarded – undo
324 324
 		return $result;
325 325
 	}
326 326
 
327
+	/**
328
+	 * @param string $comment
329
+	 * @param integer $flags
330
+	 */
327 331
 	private function createTestItem( Item $item, $comment, $user, $flags ) {
328 332
 		$store = WikibaseRepo::getDefaultInstance()->getEntityStore();
329 333
 		$rev = $store->saveEntity( $item, $comment, $user, $flags );
Please login to merge, or discard this patch.
repo/tests/phpunit/includes/Actions/EditEntityActionTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -51,6 +51,9 @@
 block discarded – undo
51 51
 		$this->assertInstanceOf( 'Wikibase\SubmitEntityAction', $action );
52 52
 	}
53 53
 
54
+	/**
55
+	 * @param string $key
56
+	 */
54 57
 	protected function adjustRevisionParam( $key, array &$params, WikiPage $page ) {
55 58
 		if ( !isset( $params[$key] ) || ( is_int( $params[$key] ) && $params[$key] > 0 ) ) {
56 59
 			return;
Please login to merge, or discard this patch.
repo/tests/phpunit/includes/Api/ApiJsonFormatTest.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
 class ApiJsonFormatTest extends ApiFormatTestCase {
20 20
 
21
+	/**
22
+	 * @param string $moduleIdentifier
23
+	 */
21 24
 	private function getExpectedJson( $moduleIdentifier ) {
22 25
 		$json = file_get_contents( __DIR__ . '/../../data/api/' . $moduleIdentifier . '.json' );
23 26
 		$json = json_decode( $json, true );
Please login to merge, or discard this patch.
repo/tests/phpunit/includes/Api/ModifyTermTestCase.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -58,6 +58,9 @@
 block discarded – undo
58 58
 		);
59 59
 	}
60 60
 
61
+	/**
62
+	 * @param string $attribute
63
+	 */
61 64
 	public function doTestSetTerm( $attribute, $params, $expected ) {
62 65
 		// -- set any defaults ------------------------------------
63 66
 		$params['action'] = self::$testAction;
Please login to merge, or discard this patch.
repo/tests/phpunit/includes/Api/PermissionsTestCase.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -46,6 +46,9 @@
 block discarded – undo
46 46
 		parent::tearDown();
47 47
 	}
48 48
 
49
+	/**
50
+	 * @param string $action
51
+	 */
49 52
 	protected function doPermissionsTest( $action, array $params, array $permissions = null, $expectedError = null ) {
50 53
 		global $wgUser, $wgGroupPermissions;
51 54
 
Please login to merge, or discard this patch.