| Total Complexity | 1 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class FuzzyQuery extends QueryAbstract implements HasFuzzyOptions, HasBoostOption |
||
| 16 | { |
||
| 17 | use FuzzyOptions; |
||
| 18 | use BoostOption; |
||
| 19 | use JsonSerializeAsSimpleOrExtended { |
||
| 20 | jsonSerializeAsSimpleOrExtended as public jsonSerialize; |
||
| 21 | } |
||
| 22 | |||
| 23 | const NAME = 'fuzzy'; |
||
| 24 | |||
| 25 | |||
| 26 | /** |
||
| 27 | * @var string |
||
| 28 | */ |
||
| 29 | private $field; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @var mixed |
||
| 33 | */ |
||
| 34 | private $value; |
||
| 35 | |||
| 36 | public function __construct(string $field, $value) |
||
| 42 |