@@ -49,9 +49,9 @@ class FilterBuilder extends Builder
49
49
/**
50
50
* FilterBuilder constructor.
51
51
*
52
- * @param \Illuminate\Database\Eloquent\Model $model
53
- * @param callable|null $callback
54
- * @param bool $softDelete
52
+ * @param \Illuminate\Database\Eloquent\Model $model
53
+ * @param callable|null $callback
54
+ * @param bool $softDelete
55
55
* @return void
56
56
*/
57
57
public function __construct (Model $ model , $ callback = null , $ softDelete = false )
@@ -75,8 +75,8 @@ public function __construct(Model $model, $callback = null, $softDelete = false)
75
75
* @see https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-range-query.html Range query
76
76
*
77
77
* Supported operators are =, >, <, >=, <=, <>
78
- * @param string $field Field name
79
- * @param mixed $value Scalar value or an array
78
+ * @param string $field Field name
79
+ * @param mixed $value Scalar value or an array
80
80
* @return $this
81
81
*/
82
82
public function where ($ field , $ value )
@@ -156,8 +156,8 @@ public function where($field, $value)
156
156
*
157
157
* @see https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-terms-query.html Terms query
158
158
*
159
- * @param string $field
160
- * @param array $value
159
+ * @param string $field
160
+ * @param array $value
161
161
* @return $this
162
162
*/
163
163
public function whereIn ($ field , array $ value )
@@ -176,8 +176,8 @@ public function whereIn($field, array $value)
176
176
*
177
177
* @see https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-terms-query.html Terms query
178
178
*
179
- * @param string $field
180
- * @param array $value
179
+ * @param string $field
180
+ * @param array $value
181
181
* @return $this
182
182
*/
183
183
public function whereNotIn ($ field , array $ value )
@@ -196,8 +196,8 @@ public function whereNotIn($field, array $value)
196
196
*
197
197
* @see https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-range-query.html Range query
198
198
*
199
- * @param string $field
200
- * @param array $value
199
+ * @param string $field
200
+ * @param array $value
201
201
* @return $this
202
202
*/
203
203
public function whereBetween ($ field , array $ value )
@@ -219,8 +219,8 @@ public function whereBetween($field, array $value)
219
219
*
220
220
* @see https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-range-query.html Range query
221
221
*
222
- * @param string $field
223
- * @param array $value
222
+ * @param string $field
223
+ * @param array $value
224
224
* @return $this
225
225
*/
226
226
public function whereNotBetween ($ field , array $ value )
@@ -242,7 +242,7 @@ public function whereNotBetween($field, array $value)
242
242
*
243
243
* @see https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-exists-query.html Exists query
244
244
*
245
- * @param string $field
245
+ * @param string $field
246
246
* @return $this
247
247
*/
248
248
public function whereExists ($ field )
@@ -261,7 +261,7 @@ public function whereExists($field)
261
261
*
262
262
* @see https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-exists-query.html Exists query
263
263
*
264
- * @param string $field
264
+ * @param string $field
265
265
* @return $this
266
266
*/
267
267
public function whereNotExists ($ field )
@@ -280,9 +280,9 @@ public function whereNotExists($field)
280
280
*
281
281
* @see https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-regexp-query.html Regexp query
282
282
*
283
- * @param string $field
284
- * @param string $value
285
- * @param string $flags
283
+ * @param string $field
284
+ * @param string $value
285
+ * @param string $flags
286
286
* @return $this
287
287
*/
288
288
public function whereRegexp ($ field , $ value , $ flags = 'ALL ' )
@@ -304,9 +304,9 @@ public function whereRegexp($field, $value, $flags = 'ALL')
304
304
*
305
305
* @see https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-geo-distance-query.html Geo distance query
306
306
*
307
- * @param string $field
308
- * @param string|array $value
309
- * @param int|string $distance
307
+ * @param string $field
308
+ * @param string|array $value
309
+ * @param int|string $distance
310
310
* @return $this
311
311
*/
312
312
public function whereGeoDistance ($ field , $ value , $ distance )
@@ -326,8 +326,8 @@ public function whereGeoDistance($field, $value, $distance)
326
326
*
327
327
* @see https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-geo-bounding-box-query.html Geo bounding box query
328
328
*
329
- * @param string $field
330
- * @param array $value
329
+ * @param string $field
330
+ * @param array $value
331
331
* @return $this
332
332
*/
333
333
public function whereGeoBoundingBox ($ field , array $ value )
@@ -346,8 +346,8 @@ public function whereGeoBoundingBox($field, array $value)
346
346
*
347
347
* @see https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-geo-polygon-query.html Geo polygon query
348
348
*
349
- * @param string $field
350
- * @param array $points
349
+ * @param string $field
350
+ * @param array $points
351
351
* @return $this
352
352
*/
353
353
public function whereGeoPolygon ($ field , array $ points )
@@ -368,9 +368,9 @@ public function whereGeoPolygon($field, array $points)
368
368
*
369
369
* @see https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-geo-shape-query.html Querying Geo Shapes
370
370
*
371
- * @param string $field
372
- * @param array $shape
373
- * @param string $relation
371
+ * @param string $field
372
+ * @param array $shape
373
+ * @param string $relation
374
374
* @return $this
375
375
*/
376
376
public function whereGeoShape ($ field , array $ shape , $ relation = 'INTERSECTS ' )
@@ -390,8 +390,8 @@ public function whereGeoShape($field, array $shape, $relation = 'INTERSECTS')
390
390
/**
391
391
* Add a orderBy clause.
392
392
*
393
- * @param string $field
394
- * @param string $direction
393
+ * @param string $field
394
+ * @param string $direction
395
395
* @return $this
396
396
*/
397
397
public function orderBy ($ field , $ direction = 'asc ' )
@@ -442,7 +442,7 @@ public function buildPayload()
442
442
/**
443
443
* Eager load some some relations.
444
444
*
445
- * @param array|string $relations
445
+ * @param array|string $relations
446
446
* @return $this
447
447
*/
448
448
public function with ($ relations )
@@ -455,7 +455,7 @@ public function with($relations)
455
455
/**
456
456
* Set the query offset.
457
457
*
458
- * @param int $offset
458
+ * @param int $offset
459
459
* @return $this
460
460
*/
461
461
public function from ($ offset )
@@ -498,7 +498,7 @@ public function paginate($perPage = null, $pageName = 'page', $page = null)
498
498
/**
499
499
* Collapse by a field.
500
500
*
501
- * @param string $field
501
+ * @param string $field
502
502
* @return $this
503
503
*/
504
504
public function collapse (string $ field )
@@ -511,7 +511,7 @@ public function collapse(string $field)
511
511
/**
512
512
* Select one or many fields.
513
513
*
514
- * @param mixed $fields
514
+ * @param mixed $fields
515
515
* @return $this
516
516
*/
517
517
public function select ($ fields )
0 commit comments