@@ -92,6 +92,7 @@ discard block |
||
92 | 92 | * |
93 | 93 | * @param Snak ...$snaks |
94 | 94 | * (passing a single Snak[] is still supported but deprecated) |
95 | + * @param Snak[] $snaks |
|
95 | 96 | * |
96 | 97 | * @throws InvalidArgumentException |
97 | 98 | */ |
@@ -321,7 +322,7 @@ discard block |
||
321 | 322 | * |
322 | 323 | * @since 5.0 |
323 | 324 | * |
324 | - * @return Iterator|Reference[] |
|
325 | + * @return ArrayIterator |
|
325 | 326 | */ |
326 | 327 | public function getIterator() { |
327 | 328 | return new ArrayIterator( array_values( $this->references ) ); |