Skip to content
Snippets Groups Projects
Commit c982974b authored by Aivaras Gotovskis's avatar Aivaras Gotovskis
Browse files

Add constructor arguments to MissingAggregation.

parent b164a5f5
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,19 @@ class MissingAggregation extends AbstractAggregation
{
use BucketingTrait;
/**
* Inner aggregations container init.
*
* @param string $name
* @param string $field
*/
public function __construct($name, $field = null)
{
parent::__construct($name);
$this->setField($field);
}
/**
* {@inheritdoc}
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment