@@ -54,7 +54,7 @@ |
||
54 | 54 | * @param string $fieldDefIdentifier |
55 | 55 | * @param string $languageCode |
56 | 56 | * |
57 | - * @return mixed a primitive type or a field type Value object depending on the field type. |
|
57 | + * @return Value|null a primitive type or a field type Value object depending on the field type. |
|
58 | 58 | */ |
59 | 59 | public function getFieldValue(string $fieldDefIdentifier, ?string $languageCode = null): ?Value |
60 | 60 | { |
@@ -53,7 +53,7 @@ |
||
53 | 53 | * @param string $fieldDefIdentifier |
54 | 54 | * @param string|null $languageCode |
55 | 55 | * |
56 | - * @return mixed a primitive type or a field type Value object depending on the field type. |
|
56 | + * @return Value|null a primitive type or a field type Value object depending on the field type. |
|
57 | 57 | */ |
58 | 58 | public function getFieldValue(string $fieldDefIdentifier, ?string $languageCode = null): ?Value |
59 | 59 | { |
@@ -150,7 +150,7 @@ |
||
150 | 150 | * |
151 | 151 | * @param int $valueTypes The accepted values, as a bit field of Specifications::TYPE_* constants |
152 | 152 | * |
153 | - * @return callable |
|
153 | + * @return \Closure |
|
154 | 154 | */ |
155 | 155 | private function getValueTypeCheckCallback(int $valueTypes): callable |
156 | 156 | { |
@@ -20,7 +20,7 @@ |
||
20 | 20 | * |
21 | 21 | * Will match of the given criterion doesn't match |
22 | 22 | * |
23 | - * @param \eZ\Publish\API\Repository\Values\Content\Query\Criterion[] $criteria One criterion, as an array |
|
23 | + * @param \eZ\Publish\API\Repository\Values\Content\Query\Criterion[] $criterion One criterion, as an array |
|
24 | 24 | * |
25 | 25 | * @throws \InvalidArgumentException if more than one criterion is given in the array parameter |
26 | 26 | */ |