Permalink
Browse files

Fixing alcohol related typos

  • Loading branch information...
1 parent ea71365 commit b83213676c48da6f2966d56f44c955a2fd474fa9 @lorenzo lorenzo committed Jan 23, 2014
Showing with 4 additions and 3 deletions.
  1. +1 −1 src/ORM/Query.php
  2. +3 −2 tests/TestCase/ORM/QueryTest.php
View
@@ -910,7 +910,7 @@ public function count() {
* count, for example removing unnecessary joins, removing group by or just return
* an estimated number of rows.
*
- * The callback will receive as first argument a clone of this query and not this
+ * The callback will receive as first argument a clone of this query and not this
* query itself.
*
* @param callable $counter
@@ -1516,11 +1516,12 @@ public function testCountWithGroup() {
}
/**
- * Tests that it is possible to provide
+ * Tests that it is possible to provide a callback for calculating the count
+ * of a query
*
* @return void
*/
- public function testCountWuthCustomCounter() {
+ public function testCountWithCustomCounter() {
$table = TableRegistry::get('articles');
$query = $table->find('all');
$query

0 comments on commit b832136

Please sign in to comment.