@@ -381,7 +381,7 @@ |
||
| 381 | 381 | /** |
| 382 | 382 | * @see ArrayObject::append |
| 383 | 383 | * |
| 384 | - * @param mixed $value |
|
| 384 | + * @param Hashable $value |
|
| 385 | 385 | */ |
| 386 | 386 | public function append( $value ) { |
| 387 | 387 | $this->setElement( null, $value ); |
@@ -84,7 +84,7 @@ |
||
| 84 | 84 | /** |
| 85 | 85 | * @see Comparable::equals |
| 86 | 86 | * |
| 87 | - * @param mixed $target |
|
| 87 | + * @param AliasGroup $target |
|
| 88 | 88 | * |
| 89 | 89 | * @return bool |
| 90 | 90 | */ |
@@ -51,6 +51,10 @@ |
||
| 51 | 51 | return $statement; |
| 52 | 52 | } |
| 53 | 53 | |
| 54 | + /** |
|
| 55 | + * @param integer $propertyId |
|
| 56 | + * @param string $stringValue |
|
| 57 | + */ |
|
| 54 | 58 | private function getStatementWithSnak( $propertyId, $stringValue ) { |
| 55 | 59 | $snak = $this->newSnak( $propertyId, $stringValue ); |
| 56 | 60 | $statement = new Statement( $snak ); |
@@ -30,6 +30,10 @@ |
||
| 30 | 30 | $this->assertTrue( $statements->hasStatementWithGuid( 'some guid' ) ); |
| 31 | 31 | } |
| 32 | 32 | |
| 33 | + /** |
|
| 34 | + * @param integer $propertyId |
|
| 35 | + * @param string|null $guid |
|
| 36 | + */ |
|
| 33 | 37 | private function newStatement( $propertyId, $guid ) { |
| 34 | 38 | $statement = new Statement( new PropertyNoValueSnak( $propertyId ) ); |
| 35 | 39 | $statement->setGuid( $guid ); |
@@ -144,7 +144,7 @@ |
||
| 144 | 144 | * |
| 145 | 145 | * @param PropertyIdProvider $object |
| 146 | 146 | * |
| 147 | - * @return bool|int |
|
| 147 | + * @return integer |
|
| 148 | 148 | * @throws RuntimeException |
| 149 | 149 | */ |
| 150 | 150 | public function getFlatArrayIndexOfObject( $object ) { |
@@ -265,7 +265,7 @@ |
||
| 265 | 265 | /** |
| 266 | 266 | * @see Comparable::equals |
| 267 | 267 | * |
| 268 | - * @param mixed $target |
|
| 268 | + * @param StatementList $target |
|
| 269 | 269 | * |
| 270 | 270 | * @return bool |
| 271 | 271 | */ |