@@ -192,7 +192,7 @@ discard block |
||
192 | 192 | * @param string $operator |
193 | 193 | * @param string $value |
194 | 194 | * |
195 | - * @return callback |
|
195 | + * @return \Closure |
|
196 | 196 | */ |
197 | 197 | protected function getTransposeClosure($operator, $value) |
198 | 198 | { |
@@ -212,7 +212,7 @@ discard block |
||
212 | 212 | * |
213 | 213 | * @param string $char |
214 | 214 | * |
215 | - * @return callback |
|
215 | + * @return \Closure |
|
216 | 216 | */ |
217 | 217 | protected function compileTargetCharacter($char) |
218 | 218 | { |
@@ -276,6 +276,7 @@ discard block |
||
276 | 276 | * Converts a hexadecimal string to a decimal number. |
277 | 277 | * |
278 | 278 | * In comparison to standard hexdec function it will ignore any non-hexadecimal characters |
279 | + * @param string $value |
|
279 | 280 | */ |
280 | 281 | private function hexdec(?string $value): int |
281 | 282 | { |
@@ -32,7 +32,7 @@ |
||
32 | 32 | /** |
33 | 33 | * Map field value to a proper search engine representation. |
34 | 34 | * |
35 | - * @return mixed |
|
35 | + * @return string |
|
36 | 36 | */ |
37 | 37 | public function map(Field $field) |
38 | 38 | { |
@@ -93,7 +93,7 @@ |
||
93 | 93 | /** |
94 | 94 | * Create 2 * number of remote IDs test data sets (one for Content, another for Location). |
95 | 95 | * |
96 | - * @return iterable |
|
96 | + * @return \Generator |
|
97 | 97 | */ |
98 | 98 | public function providerForTestIndexingRemoteId(): iterable |
99 | 99 | { |
@@ -6,7 +6,6 @@ |
||
6 | 6 | */ |
7 | 7 | namespace eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor; |
8 | 8 | |
9 | -use eZ\Publish\API\Repository\Exceptions\NotFoundException; |
|
10 | 9 | use eZ\Publish\API\Repository\Exceptions\UnauthorizedException; |
11 | 10 | use eZ\Publish\API\Repository\Values\Content as ApiValues; |
12 | 11 | use eZ\Publish\Core\REST\Common\Exceptions; |