lib/Elastica/Aggregation/Percentiles.php
public function setHdr(string $key, float $value): self
    {
        $compression = [$key => $value];

        return $this->setParam('hdr', $compression);
    }
public function setHdr(string $key, float $value): self
    {
        $compression = [$key => $value];

        return $this->setParam('hdr', $compression);
    }
public function setHdr ( string $ key , float $ value ) : self { $ compression = [ $ key => $ value ] ; return $ this -> setParam ( 'hdr' , $ compression ) ; }
Set hdr parameter.

@param string $key
@param float  $value

@return $this
Set hdr parameter .