Skip to content

Commit

Permalink
Fixed another typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Jan 20, 2014
1 parent 56ff48d commit 3b6ab75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ORM/Query.php
Expand Up @@ -822,7 +822,7 @@ public function mapReduce(callable $mapper = null, callable $reducer = null, $ov
* });
*
* //Add a new column to the ResultSet
* $query->select(['name', 'bith_date'])->formatResults(function($results, $query) {
* $query->select(['name', 'birth_date'])->formatResults(function($results, $query) {
* return $results->map(function($row) {
* $row['age'] = $row['birth_date']->diff(new DateTime)->y;
* return $row;
Expand Down

0 comments on commit 3b6ab75

Please sign in to comment.