Skip to content
Snippets Groups Projects
Commit 4b2628b0 authored by Pascal Thesing's avatar Pascal Thesing Committed by Simonas Šerlinskas
Browse files

fix get bool doctype to get available hints (#274)

parent f6298bec
No related branches found
No related tags found
No related merge requests found
......@@ -223,7 +223,7 @@ class Search
/**
* Returns queries inside BoolQuery instance.
*
* @return BuilderInterface
* @return BoolQuery
*/
public function getQueries()
{
......@@ -283,7 +283,7 @@ class Search
/**
* Returns queries inside BoolFilter instance.
*
* @return BuilderInterface
* @return BoolQuery
*/
public function getPostFilters()
{
......
......@@ -12,6 +12,7 @@
namespace ONGR\ElasticsearchDSL\SearchEndpoint;
use ONGR\ElasticsearchDSL\BuilderInterface;
use ONGR\ElasticsearchDSL\Query\Compound\BoolQuery;
use Symfony\Component\Serializer\Normalizer\NormalizableInterface;
/**
......@@ -71,7 +72,7 @@ interface SearchEndpointInterface extends NormalizableInterface
/**
* Returns Bool filter or query instance with all builder objects inside.
*
* @return BuilderInterface
* @return BoolQuery
*/
public function getBool();
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment