Skip to content

Commit

Permalink
Update formatResults doc block
Browse files Browse the repository at this point in the history
  • Loading branch information
bcrowe committed Feb 21, 2014
1 parent 74074b7 commit 56d15e0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/ORM/Query.php
Expand Up @@ -711,12 +711,12 @@ public function mapReduce(callable $mapper = null, callable $reducer = null, $ov
}

/**
* Registers a new formatter callback function that is to be executed when the results
* are tried to be fetched from the database.
* Registers a new formatter callback function that is to be executed when trying
* to fetch the results from the database.
*
* Formatting callbacks will get as first parameter a `ResultSetDecorator` that
* can be traversed and modified at will. As the second parameter, the formatting
* callback will receive this query instance.
* Formatting callbacks will get a first parameter, a `ResultSetDecorator`, that
* can be traversed and modified at will. As for the second parameter, the
* formatting callback will receive this query instance.
*
* Callbacks are required to return an iterator object, which will be used as
* the return value for this query's result. Formatter functions are applied
Expand Down

0 comments on commit 56d15e0

Please sign in to comment.