@@ -36,7 +36,7 @@ |
||
36 | 36 | throw new \InvalidArgumentException(); |
37 | 37 | } |
38 | 38 | |
39 | - $firstPartBuilder = $this->registry->getBuilder($spec->getWrappedSpecification()); |
|
39 | + $firstPartBuilder = $this->registry->getBuilder($spec->getWrappedSpecification()); |
|
40 | 40 | |
41 | 41 | return $qb->query()->bool() |
42 | 42 | ->addMustNot($firstPartBuilder->build($spec->getWrappedSpecification(), $qb)) |
@@ -42,7 +42,7 @@ |
||
42 | 42 | * @param Specification $spec |
43 | 43 | * @param QueryBuilder $qb |
44 | 44 | * |
45 | - * @return array |
|
45 | + * @return \Elastica\Query\AbstractQuery |
|
46 | 46 | */ |
47 | 47 | public function handle(Specification $spec, QueryBuilder $qb) |
48 | 48 | { |