Completed
Push — devel ( 3bd8be...9c998f )
by Alexey
02:35
created
src/Bardex/Elastic/Script.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,9 @@
 block discarded – undo
85 85
         ];
86 86
 
87 87
         // because ES
88
-        if (empty($script['script']['params'])) unset($script['script']['params']);
88
+        if (empty($script['script']['params'])) {
89
+            unset($script['script']['params']);
90
+        }
89 91
 
90 92
         return $script;
91 93
     }
Please login to merge, or discard this patch.
src/Bardex/Elastic/SearchQuery.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Bardex\Elastic;
4 4
 
5
-use Bardex\Elastic\SearchResult;
6
-
7 5
 
8 6
 /**
9 7
  * Fluent interface for ElasticSearch
Please login to merge, or discard this patch.