Skip to content

Commit

Permalink
Rename class/file to fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Mar 3, 2013
1 parent 7aba2d1 commit 3099e1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -20,7 +20,7 @@

use Cake\Model\Datasource\Database\Expression;

class Comparisson extends QueryExpression {
class Comparison extends QueryExpression {

protected $_field;

Expand Down
4 changes: 2 additions & 2 deletions lib/Cake/Model/Datasource/Database/Query.php
Expand Up @@ -20,7 +20,7 @@
use IteratorAggregate;
use Cake\Model\Datasource\Database\Expression\QueryExpression;
use Cake\Model\Datasource\Database\Expression\OrderByExpression;
use Cake\Model\Datasource\Database\Expression\Comparisson;
use Cake\Model\Datasource\Database\Expression\Comparison;
use Cake\Model\Datasource\Database\Statement\CallbackStatement;

/**
Expand Down Expand Up @@ -1264,7 +1264,7 @@ protected function _bindParams($statement) {
$visitor = function($expression) use ($statement) {
$params = $types = [];

if ($expression instanceof Comparisson) {
if ($expression instanceof Comparison) {
if ($expression->getValue() instanceof self) {
$expression->getValue()->_bindParams($statement);
}
Expand Down

0 comments on commit 3099e1c

Please sign in to comment.