@@ -117,7 +117,7 @@ |
||
| 117 | 117 | $rows = $statement->fetchAll(PDO::FETCH_ASSOC); |
| 118 | 118 | |
| 119 | 119 | return array_map( |
| 120 | - static function (array $row) { |
|
| 120 | + static function(array $row) { |
|
| 121 | 121 | return $row['identifier']; |
| 122 | 122 | }, |
| 123 | 123 | $rows |
@@ -52,8 +52,7 @@ |
||
| 52 | 52 | } |
| 53 | 53 | |
| 54 | 54 | $hash = is_array($value['identifiers']) ? |
| 55 | - $value['identifiers'] : |
|
| 56 | - [$value['identifiers']]; |
|
| 55 | + $value['identifiers'] : [$value['identifiers']]; |
|
| 57 | 56 | |
| 58 | 57 | return $this->fieldType->fromHash($hash); |
| 59 | 58 | } |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | * @param \eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion |
| 29 | 29 | * @param array $fieldFilters |
| 30 | 30 | * |
| 31 | - * @return \eZ\Publish\Core\Persistence\Database\Expression |
|
| 31 | + * @return string |
|
| 32 | 32 | */ |
| 33 | 33 | public function handle(CriteriaConverter $converter, SelectQuery $query, Criterion $criterion, ?array $fieldFilters = null): string |
| 34 | 34 | { |