Skip to content

Commit 7c28dbc

Browse files
committed
TASK: Merge branch '6.0' into master
2 parents 1e58083 + 11b0ff1 commit 7c28dbc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Classes/Eel/ElasticSearchQueryResult.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ public function getSuggestions(): array
255255
* @return array the Elasticsearch hit, or NULL if it does not exist.
256256
* @api
257257
*/
258-
public function searchHitForNode(NodeInterface $node): array
258+
public function searchHitForNode(NodeInterface $node): ?array
259259
{
260260
return $this->elasticSearchQuery->getQueryBuilder()->getFullElasticSearchHitForNode($node);
261261
}

0 commit comments

Comments
 (0)