From b58ec6c8840150377195a1c0710452cef35cf90e Mon Sep 17 00:00:00 2001
From: Mantas <marc.mantas@gmail.com>
Date: Fri, 10 Jun 2016 13:55:55 +0300
Subject: [PATCH] implemented option support in SpanNotQuery

---
 src/Query/Span/SpanNotQuery.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Query/Span/SpanNotQuery.php b/src/Query/Span/SpanNotQuery.php
index f54fe8a..1492d1a 100644
--- a/src/Query/Span/SpanNotQuery.php
+++ b/src/Query/Span/SpanNotQuery.php
@@ -62,6 +62,6 @@ class SpanNotQuery implements SpanQueryInterface
             'exclude' => $this->exclude->toArray(),
         ];
 
-        return [$this->getType() => $query];
+        return [$this->getType() => $this->processArray($query)];
     }
 }
-- 
GitLab