Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update formatResults doc block

  • Loading branch information...
commit 56d15e0ac2c8abfb778e197719e89d2715712310 1 parent 74074b7
@bcrowe bcrowe authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/ORM/Query.php
View
10 src/ORM/Query.php
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.