diff --git a/CHANGELOG.md b/CHANGELOG.md index cd8e82dc5..3c52e4667 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). ## [5.1.4] +### Added +- Solarium\Component\Facet\Pivot::setLimit() +- Solarium\Component\Facet\Pivot::getLimit() + ### Fixed - Client::checkExact() checks against wrong version number diff --git a/src/Component/Facet/Pivot.php b/src/Component/Facet/Pivot.php index e077d1844..978d98222 100644 --- a/src/Component/Facet/Pivot.php +++ b/src/Component/Facet/Pivot.php @@ -36,27 +36,28 @@ public function getType(): string { return FacetSetInterface::FACET_PIVOT; } - - /** - * Set the facet limit. - * - * @param int $limit - * - * @return self Provides fluent interface - */ - public function setLimit($limit): self - { - return $this->setOption('limit', $limit); - } - /** - * Get the facet limit. - * - * @return int - */ - public function getLimit(): ?int - { - return $this->getOption('limit'); - } + + /** + * Set the facet limit. + * + * @param int $limit + * + * @return self Provides fluent interface + */ + public function setLimit($limit): self + { + return $this->setOption('limit', $limit); + } + + /** + * Get the facet limit. + * + * @return int + */ + public function getLimit(): ?int + { + return $this->getOption('limit'); + } /** * Set the facet mincount.