Skip to content

Commit

Permalink
Fixing bad english
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Aug 31, 2013
1 parent 850d263 commit c0035c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Cake/ORM/Query.php
Expand Up @@ -558,7 +558,7 @@ public function mapReduce(callable $mapper = null, callable $reducer = null, $ov
}

/**
* Returns the first result out of executed this query, if the query has not been
* Returns the first result out of executing this query, if the query has not been
* executed before, it will set the limit clause to 1 for performance reasons.
*
* ###Example:
Expand All @@ -573,7 +573,7 @@ public function first() {
}
$this->bufferResults();
$this->_results = $this->execute();
// Calls foreach so we cursor is rewinded automatically
// Calls foreach so we cursor is rewound automatically
foreach ($this->_results as $row) {
// Just get the first result from the iterator
return $row;
Expand Down

0 comments on commit c0035c3

Please sign in to comment.