@@ -270,7 +270,7 @@ discard block |
||
| 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 |
||
| 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 |
@@ -119,8 +119,8 @@ |
||
| 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 |
@@ -162,7 +162,7 @@ |
||
| 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' ]; |
@@ -332,7 +332,6 @@ |
||
| 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 | */ |