Completed
Pull Request — master (#12)
by
unknown
11:14 queued 04:45
created
repo/tests/phpunit/includes/Actions/EditEntityActionTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -52,6 +52,9 @@
 block discarded – undo
52 52
 		$this->assertInstanceOf( SubmitEntityAction::class, $action );
53 53
 	}
54 54
 
55
+	/**
56
+	 * @param string $key
57
+	 */
55 58
 	protected function adjustRevisionParam( $key, array &$params, WikiPage $page ) {
56 59
 		if ( !isset( $params[$key] ) || ( is_int( $params[$key] ) && $params[$key] > 0 ) ) {
57 60
 			return;
Please login to merge, or discard this patch.
view/src/SimpleEntityTermsView.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -112,6 +112,9 @@
 block discarded – undo
112 112
 		);
113 113
 	}
114 114
 
115
+	/**
116
+	 * @param string $languageCode
117
+	 */
115 118
 	protected function getHeadingHtml(
116 119
 		$languageCode,
117 120
 		EntityId $entityId = null,
Please login to merge, or discard this patch.
view/tests/phpunit/SimpleEntityTermsViewTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -79,6 +79,9 @@
 block discarded – undo
79 79
 		);
80 80
 	}
81 81
 
82
+	/**
83
+	 * @param string $term
84
+	 */
82 85
 	private function getTermList( $term, $languageCode = 'en' ) {
83 86
 		return new TermList( [ new Term( $languageCode, $term ) ] );
84 87
 	}
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.
lib/includes/LanguageFallbackChainFactory.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -229,6 +229,9 @@
 block discarded – undo
229 229
 		return $languageFallbackChain;
230 230
 	}
231 231
 
232
+	/**
233
+	 * @param string $languageCode
234
+	 */
232 235
 	private function getBabel( $languageCode, $user ) {
233 236
 		$babel = [];
234 237
 
Please login to merge, or discard this patch.
repo/tests/phpunit/includes/Api/SetQualifierTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -157,6 +157,10 @@
 block discarded – undo
157 157
 		$this->makeSetQualifierRequest( $guid, $hash, $newQualifier, $item->getId() );
158 158
 	}
159 159
 
160
+	/**
161
+	 * @param string|null $statementGuid
162
+	 * @param null|string $snakhash
163
+	 */
160 164
 	protected function makeSetQualifierRequest( $statementGuid, $snakhash, Snak $qualifier, EntityId $entityId ) {
161 165
 		$params = [
162 166
 			'action' => 'wbsetqualifier',
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
@@ -150,6 +150,9 @@
 block discarded – undo
150 150
 		];
151 151
 	}
152 152
 
153
+	/**
154
+	 * @param string $idString
155
+	 */
153 156
 	private function newItemWithId( $idString ) {
154 157
 		return NewItem::withId( $idString )
155 158
 			->build();
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
@@ -82,6 +82,9 @@
 block discarded – undo
82 82
 		);
83 83
 	}
84 84
 
85
+	/**
86
+	 * @param EntityUsage[] $actualUsages
87
+	 */
85 88
 	private function hasUsage( $actualUsages, EntityId $entityId, $aspect, $modifier = null ) {
86 89
 		$usage = new EntityUsage( $entityId, $aspect, $modifier );
87 90
 		$key = $usage->getIdentityString();
Please login to merge, or discard this patch.
repo/tests/phpunit/includes/NewItem.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -106,6 +106,8 @@  discard block
 block discarded – undo
106 106
 
107 107
 	/**
108 108
 	 * @see andLabel
109
+	 * @param string $languageCode
110
+	 * @param string $label
109 111
 	 */
110 112
 	public static function withLabel( $languageCode, $label ) {
111 113
 		return ( new self() )->andLabel( $languageCode, $label );
@@ -125,6 +127,8 @@  discard block
 block discarded – undo
125 127
 
126 128
 	/**
127 129
 	 * @see andDescription
130
+	 * @param string $languageCode
131
+	 * @param string $description
128 132
 	 */
129 133
 	public static function withDescription( $languageCode, $description ) {
130 134
 		return ( new self() )->andDescription( $languageCode, $description );
@@ -144,6 +148,8 @@  discard block
 block discarded – undo
144 148
 
145 149
 	/**
146 150
 	 * @see andAliases
151
+	 * @param string $languageCode
152
+	 * @param string[] $aliases
147 153
 	 */
148 154
 	public static function withAliases( $languageCode, $aliases ) {
149 155
 		return ( new self() )->andAliases( $languageCode, $aliases );
@@ -163,6 +169,8 @@  discard block
 block discarded – undo
163 169
 
164 170
 	/**
165 171
 	 * @see andSiteLink
172
+	 * @param string $siteId
173
+	 * @param string $pageName
166 174
 	 */
167 175
 	public static function withSiteLink( $siteId, $pageName, $badges = null ) {
168 176
 		return ( new self() )->andSiteLink( $siteId, $pageName, $badges );
@@ -189,6 +197,7 @@  discard block
 block discarded – undo
189 197
 
190 198
 	/**
191 199
 	 * @see andStatement
200
+	 * @param Statement $statement
192 201
 	 */
193 202
 	public static function withStatement( $statement ) {
194 203
 		return ( new self() )->andStatement( $statement );
Please login to merge, or discard this patch.