@@ -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 | */ |
@@ -144,7 +144,7 @@ |
||
| 144 | 144 | /** |
| 145 | 145 | * Return the item types |
| 146 | 146 | * |
| 147 | - * @return \stdClass[] Item types |
|
| 147 | + * @return string[] Item types |
|
| 148 | 148 | */ |
| 149 | 149 | public function getType() |
| 150 | 150 | { |
@@ -118,7 +118,7 @@ |
||
| 118 | 118 | * @param string $profile Profile |
| 119 | 119 | * @param string $attribute Attribute name |
| 120 | 120 | * @param string $value Attribute value |
| 121 | - * @return array Attribute values |
|
| 121 | + * @return string[] Attribute values |
|
| 122 | 122 | */ |
| 123 | 123 | protected function parseAttributeValue($profile, $attribute, $value) |
| 124 | 124 | { |