Issues (17)

lib/Query/Option/BoostOption.php (1 issue)

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
The property options does not exist. Although not strictly required by PHP, it is generally a best practice to declare properties explicitly.
Loading history...
10
11
		return $this;
12
	}
13
}
14