Completed
Push — master ( 2cc482...891a3a )
by Mehmet
15:16 queued 05:09
created
src/ElasticSearch.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 /*
5 5
 Elasticsearch Adapter
6 6
 */
7
-Use Elasticsearch\Client;
7
+use Elasticsearch\Client;
8 8
 
9 9
 class ElasticSearch implements Base
10 10
 {
Please login to merge, or discard this patch.
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -177,6 +177,9 @@  discard block
 block discarded – undo
177 177
         return 0;
178 178
     }
179 179
 
180
+    /**
181
+     * @param string[] $fields
182
+     */
180 183
     public function find($collection, $filters, $fields = null, $sort = null, $start = 0, $limit = 25)
181 184
     {
182 185
         $return_type = '_source';
@@ -271,6 +274,9 @@  discard block
 block discarded – undo
271 274
         return $filters;
272 275
     }
273 276
 
277
+    /**
278
+     * @param string $isNot
279
+     */
274 280
     private static function buildFilterForKeys($key, $value, $isNot)
275 281
     {
276 282
         $filters = [];
Please login to merge, or discard this patch.