Skip to content
Permalink
Browse files

Fixed a couple typos

  • Loading branch information...
lorenzo committed Nov 8, 2013
1 parent cdec5b6 commit b59bfc80cbcb21d738c258972a73f10fd235be24
Showing with 4 additions and 4 deletions.
  1. +4 −4 Cake/Database/IdentifierQuoter.php
@@ -57,7 +57,7 @@ public function quote(Query $query) {
if ($query->type() === 'insert') {
$this->_quoteInsert($query);
} else {
$this->_qouteParts($query);
$this->_quoteParts($query);
}
$query->traverseExpressions(function($expression) {
@@ -87,14 +87,14 @@ public function quote(Query $query) {
* @param Query
* @return void
*/
protected function _qouteParts($query) {
protected function _quoteParts($query) {
foreach (['distinct', 'select', 'from', 'group'] as $part) {
$contents = $query->clause($part);
if (!is_array($contents)) {
continue;
}
$result = $this->_basicQuoter($contents);
if ($result) {
$query->{$part}($result, true);
@@ -125,7 +125,7 @@ protected function _basicQuoter($part) {
}
/**
* Quotes both the table and alias fot an array of joins as stored in a Query
* Quotes both the table and alias for an array of joins as stored in a Query
* object
*
* @param array $joins

0 comments on commit b59bfc8

Please sign in to comment.
You can’t perform that action at this time.