Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renamed Bool to Boolean #18 #19

Merged
merged 1 commit into from
May 12, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class Builder implements BuilderInterface
* @var array
*/
private $queryBuilderClasses = [
QueryInterface::TYPE_BOOL => 'Smile\ElasticSuiteCore\Search\Adapter\ElasticSuite\Request\Query\Builder\Bool',
QueryInterface::TYPE_BOOL => 'Smile\ElasticSuiteCore\Search\Adapter\ElasticSuite\Request\Query\Builder\Boolean',
QueryInterface::TYPE_FILTER => 'Smile\ElasticSuiteCore\Search\Adapter\ElasticSuite\Request\Query\Builder\Filtered',
QueryInterface::TYPE_NESTED => 'Smile\ElasticSuiteCore\Search\Adapter\ElasticSuite\Request\Query\Builder\Nested',
QueryInterface::TYPE_TERMS => 'Smile\ElasticSuiteCore\Search\Adapter\ElasticSuite\Request\Query\Builder\Terms',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* @package Smile_ElasticSuiteCore
* @author Aurelien FOUCRET <[email protected]>
*/
class Bool extends AbstractComplexBuilder implements BuilderInterface
class Boolean extends AbstractComplexBuilder implements BuilderInterface
{
const QUERY_CONDITION_MUST = 'must';
const QUERY_CONDITION_NOT = 'must_not';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* @package Smile_ElasticSuiteCore
* @author Aurelien FOUCRET <[email protected]>
*/
class Bool implements QueryInterface
class Boolean implements QueryInterface
{
/**
* @var string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class QueryFactory
* @var array
*/
private $factories = [
QueryInterface::TYPE_BOOL => 'Smile\ElasticSuiteCore\Search\Request\Query\BoolFactory',
QueryInterface::TYPE_BOOL => 'Smile\ElasticSuiteCore\Search\Request\Query\BooleanFactory',
QueryInterface::TYPE_FILTER => 'Smile\ElasticSuiteCore\Search\Request\Query\FilteredFactory',
QueryInterface::TYPE_NESTED => 'Smile\ElasticSuiteCore\Search\Request\Query\NestedFactory',
QueryInterface::TYPE_TERM => 'Smile\ElasticSuiteCore\Search\Request\Query\TermFactory',
Expand Down