@@ -167,7 +167,7 @@ discard block |
||
167 | 167 | /** |
168 | 168 | * Return whether a property exists |
169 | 169 | * |
170 | - * @param \stdClass|Iri|string $iri IRI |
|
170 | + * @param Iri $iri IRI |
|
171 | 171 | * @return boolean Property exists |
172 | 172 | */ |
173 | 173 | public function offsetExists($iri) |
@@ -236,7 +236,7 @@ discard block |
||
236 | 236 | /** |
237 | 237 | * Set a particular property |
238 | 238 | * |
239 | - * @param \stdClass|Iri|string $iri IRI |
|
239 | + * @param Iri $iri IRI |
|
240 | 240 | * @param array $value Property values |
241 | 241 | */ |
242 | 242 | public function offsetSet($iri, $value) |
@@ -165,7 +165,6 @@ discard block |
||
165 | 165 | * Delete an item at a particular offset |
166 | 166 | * |
167 | 167 | * @param int $offset Offset |
168 | - * @param ItemInterface $value Item |
|
169 | 168 | */ |
170 | 169 | public function offsetUnset($offset) |
171 | 170 | { |
@@ -193,6 +192,7 @@ discard block |
||
193 | 192 | * Return the first item, optionally of particular types |
194 | 193 | * |
195 | 194 | * @param array ...$types Item types |
195 | + * @param string $types |
|
196 | 196 | * @return ItemInterface Item |
197 | 197 | * @throws OutOfBoundsException If there are no matching items |
198 | 198 | * @api |