@@ -49,7 +49,6 @@ |
||
49 | 49 | /** |
50 | 50 | * Create alternate resource declaration from parser results |
51 | 51 | * |
52 | - * @param array[] $rels Parser results |
|
53 | 52 | * @return Alternate[] Alternate resource declarations |
54 | 53 | */ |
55 | 54 | public static function createFromParserResult(array $alternates) |
@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | /** |
185 | 185 | * Return whether a property exists |
186 | 186 | * |
187 | - * @param \stdClass|string $iri IRI |
|
187 | + * @param \stdClass $iri IRI |
|
188 | 188 | * @return boolean Property exists |
189 | 189 | */ |
190 | 190 | public function offsetExists($iri) |
@@ -197,7 +197,7 @@ discard block |
||
197 | 197 | /** |
198 | 198 | * Set a particular property |
199 | 199 | * |
200 | - * @param \stdClass|string $iri IRI |
|
200 | + * @param \stdClass $iri IRI |
|
201 | 201 | * @param array $value Property values |
202 | 202 | */ |
203 | 203 | public function offsetSet($iri, $value) |
@@ -160,6 +160,7 @@ |
||
160 | 160 | * Return the first item, optionally of particular types |
161 | 161 | * |
162 | 162 | * @param array ...$types Item types |
163 | + * @param string $types |
|
163 | 164 | * @return ItemInterface Item |
164 | 165 | * @throws OutOfBoundsException If there are no matching items |
165 | 166 | * @api |
@@ -163,7 +163,7 @@ |
||
163 | 163 | * Return whether an aliased item type in contained in a set of query types |
164 | 164 | * |
165 | 165 | * @param string $profile Type profile |
166 | - * @param array $names Aliased type names |
|
166 | + * @param string[] $names Aliased type names |
|
167 | 167 | * @param ProfiledNamesList $types Query types |
168 | 168 | * @return bool Item type is contained in the set of query types |
169 | 169 | */ |