Permalink
Browse files

Fixed docblocks

  • Loading branch information...
1 parent 2b6044a commit 784c5e4c2009506642f2931c157e33969365497a @jrbasso jrbasso committed Jan 20, 2014
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/Database/Query.php
View
@@ -428,10 +428,10 @@ public function distinct($on = [], $overwrite = false) {
/**
* Adds a single or multiple SELECT modifiers to be used in the SELECT.
*
- * By default this function will append any passed argument to the list of fields
- * to be selected, unless the second argument is set to true.
+ * By default this function will append any passed argument to the list of modifiers
+ * to be applied, unless the second argument is set to true.
*
- * ##Examples:
+ * ### Example:
*
* {{{
* // Ignore cache query in MySQL
@@ -443,7 +443,7 @@ public function distinct($on = [], $overwrite = false) {
* // It will produce the SQL: SELECT HIGH_PRIORITY SQL_NO_CACHE name, city FROM products
* }}}
*
- * @param array|ExpressionInterface|string $fields fields to be added to the list
+ * @param array|ExpressionInterface|string $modifiers modifiers to be applied to the query
* @param boolean $overwrite whether to reset order with field list or not
* @return Query
*/

0 comments on commit 784c5e4

Please sign in to comment.