Skip to content

Commit

Permalink
Merge pull request #20 from RickvdStaaij/feature/rename-boolean-filter
Browse files Browse the repository at this point in the history
Refactor Boolean to CastBool to keep consistent
  • Loading branch information
Rick van der Staaij authored and Rick van der Staaij committed Jun 4, 2015
2 parents 5fe6398 + 93be76f commit b35e039
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/FilterResource.php
Expand Up @@ -52,7 +52,7 @@ public function append($append)
*/
public function bool()
{
return $this->addRule(new FilterRule\Boolean);
return $this->addRule(new FilterRule\CastBool);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/FilterRule/Boolean.php → src/FilterRule/CastBool.php
Expand Up @@ -15,7 +15,7 @@
*
* @package Particle\Filter\FilterRule
*/
class Boolean extends FilterRule
class CastBool extends FilterRule
{
/**
* Convert the value to a bool
Expand Down

0 comments on commit b35e039

Please sign in to comment.