We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1e58083 + 11b0ff1 commit 7c28dbcCopy full SHA for 7c28dbc
1 file changed
Classes/Eel/ElasticSearchQueryResult.php
@@ -255,7 +255,7 @@ public function getSuggestions(): array
255
* @return array the Elasticsearch hit, or NULL if it does not exist.
256
* @api
257
*/
258
- public function searchHitForNode(NodeInterface $node): array
+ public function searchHitForNode(NodeInterface $node): ?array
259
{
260
return $this->elasticSearchQuery->getQueryBuilder()->getFullElasticSearchHitForNode($node);
261
}
0 commit comments