Skip to content

Commit b70d447

Browse files
committed
Merge pull request #541 from wmde/fixDocs
Fix missing/incomplete PHPDoc tags
2 parents ef10d45 + f24eb3e commit b70d447

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/Snak/DerivedPropertyValueSnak.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ class DerivedPropertyValueSnak extends PropertyValueSnak {
3838
* @param PropertyId|EntityId|int $propertyId
3939
* @param DataValue $dataValue
4040
* @param DataValue[] $derivedDataValues
41+
*
42+
* @throws InvalidArgumentException
4143
*/
4244
public function __construct(
4345
$propertyId,

src/Statement/StatementByGuidMap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class StatementByGuidMap implements IteratorAggregate, Countable {
2626
private $statements = array();
2727

2828
/**
29-
* @param Statement[] $statements
29+
* @param Statement[]|Traversable $statements
3030
*/
3131
public function __construct( $statements = array() ) {
3232
foreach ( $statements as $statement ) {

0 commit comments

Comments
 (0)