From 6e6bc235c18e5bd3769bace51fd2ef88b0482f4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Simonas=20=C5=A0erlinskas?= <simonas.serlinskas@nfq.com>
Date: Thu, 15 Mar 2018 16:14:21 +0100
Subject: [PATCH] revert multiple queries add-on

---
 composer.json  |  2 +-
 src/Search.php | 22 ----------------------
 2 files changed, 1 insertion(+), 23 deletions(-)

diff --git a/composer.json b/composer.json
index dfbacef..b2fa7e3 100644
--- a/composer.json
+++ b/composer.json
@@ -37,7 +37,7 @@
     "minimum-stability": "dev",
     "extra": {
         "branch-alias": {
-            "dev-master": "5.1-dev"
+            "dev-master": "5.0-dev"
         }
     }
 }
diff --git a/src/Search.php b/src/Search.php
index 4a0b7f0..4a4f686 100644
--- a/src/Search.php
+++ b/src/Search.php
@@ -201,28 +201,6 @@ class Search
 
         return $this;
     }
-    
-    /**
-     * Adds multiple queries to the search.
-     *
-     * @param Array     $query
-     * @param string    $boolType
-     * @param string    $key
-     *
-     * @return $this
-     */
-    public function addQueries(Array $queries)
-    {
-        foreach ($queries as $query) {
-            if (is_array($query)) {
-                $this->addQuery(...$query);    
-            } else {
-                $this->addQuery($query);
-            }
-        }
-
-        return $this;
-    }    
 
     /**
      * Returns endpoint instance.
-- 
GitLab