Completed
Push — master ( 052c87...7b3fa5 )
by
unknown
03:46
created
src/ConstraintCheck/DelegatingConstraintChecker.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -270,7 +270,7 @@  discard block
 block discarded – undo
270 270
 	}
271 271
 
272 272
 	/**
273
-	 * @param EntityDocument|StatementListProvider $entity
273
+	 * @param EntityDocument $entity
274 274
 	 * @param string[]|null $constraintIds list of constraints to check (if null: all constraints)
275 275
 	 * @param callable|null $defaultResults optional function to pre-populate the check results
276 276
 	 *
@@ -298,7 +298,7 @@  discard block
 block discarded – undo
298 298
 	}
299 299
 
300 300
 	/**
301
-	 * @param EntityDocument|StatementListProvider $entity
301
+	 * @param EntityDocument $entity
302 302
 	 * @param Statement $statement
303 303
 	 * @param string[]|null $constraintIds list of constraints to check (if null: all constraints)
304 304
 	 * @param callable|null $defaultResults optional function to pre-populate the check results
Please login to merge, or discard this patch.
src/ConstraintCheck/Helper/RangeCheckerHelper.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -119,8 +119,8 @@
 block discarded – undo
119 119
 	 * for quantity values, the difference is the numerical difference between the quantities,
120 120
 	 * after attempting normalization of each side.
121 121
 	 *
122
-	 * @param TimeValue|QuantityValue|UnboundedQuantityValue $minuend
123
-	 * @param TimeValue|QuantityValue|UnboundedQuantityValue $subtrahend
122
+	 * @param DataValue $minuend
123
+	 * @param DataValue $subtrahend
124 124
 	 *
125 125
 	 * @throws InvalidArgumentException if the values do not both have the same, supported data value type
126 126
 	 * @return UnboundedQuantityValue
Please login to merge, or discard this patch.
src/Specials/SpecialConstraintReport.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
 	 * Returns array of modules that should be added
164 164
 	 *
165
-	 * @return array
165
+	 * @return string[]
166 166
 	 */
167 167
 	private function getModules() {
168 168
 		return [ 'SpecialConstraintReportPage' ];
Please login to merge, or discard this patch.
src/ConstraintCheck/Message/ViolationMessageRenderer.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -332,7 +332,6 @@
 block discarded – undo
332 332
 	}
333 333
 
334 334
 	/**
335
-	 * @param string[] $text Context::TYPE_* constants
336 335
 	 * @param string|null $role one of the Role::* constants
337 336
 	 * @return array[] list of parameters as accepted by Message::params()
338 337
 	 */
Please login to merge, or discard this patch.
src/ConstraintCheck/Message/ViolationMessageSerializer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -16,6 +16,9 @@
 block discarded – undo
16 16
  */
17 17
 class ViolationMessageSerializer implements Serializer {
18 18
 
19
+	/**
20
+	 * @param string $fullMessageKey
21
+	 */
19 22
 	private function abbreviateViolationMessageKey( $fullMessageKey ) {
20 23
 		return substr( $fullMessageKey, strlen( ViolationMessage::MESSAGE_KEY_PREFIX ) );
21 24
 	}
Please login to merge, or discard this patch.