Failed Conditions
Pull Request — master (#6)
by GBProd
02:28
created
src/ElasticaSpecification/ExpressionBuilder/NotBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
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))
Please login to merge, or discard this patch.
src/ElasticaSpecification/Handler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.