Skip to content

Commit

Permalink
prepared 5.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Kalkbrenner committed Oct 2, 2019
1 parent 3d6bdab commit 1811bc1
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 21 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
43 changes: 22 additions & 21 deletions src/Component/Facet/Pivot.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 1811bc1

Please sign in to comment.