diff --git a/src/Concerns/BuildsFluentQueries.php b/src/Concerns/BuildsFluentQueries.php index 6513347..dc58aad 100644 --- a/src/Concerns/BuildsFluentQueries.php +++ b/src/Concerns/BuildsFluentQueries.php @@ -528,7 +528,7 @@ public function termsFilter( string $field, $value, ?float $boost = null - ): BuildsFluentQueries { + ): self { $value = value($value, $this, $field); if ($boost === null) {