1 | <?php |
||
2 | |||
3 | namespace olvlvl\ElasticsearchDSL\Query\Option; |
||
4 | |||
5 | trait BoostOption |
||
6 | { |
||
7 | public function boost(?float $boost) |
||
8 | { |
||
9 | $this->options[__FUNCTION__] = $boost; |
||
0 ignored issues
–
show
Bug
Best Practice
introduced
by
![]() |
|||
10 | |||
11 | return $this; |
||
12 | } |
||
13 | } |
||
14 |