Skip to content

Commit

Permalink
Changed docblock
Browse files Browse the repository at this point in the history
As the method is passed `$c` it could be a number of class instances rather than `$this` which would be the QueryExpression.
  • Loading branch information
davidyell committed Feb 22, 2018
1 parent e661cf1 commit bfc0cf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Database/Expression/QueryExpression.php
Expand Up @@ -559,7 +559,7 @@ public function sql(ValueBinder $generator)
* Useful for compiling the final expression, or doing
* introspection in the structure.
*
* Callback function receives as only argument an instance of a QueryExpression
* Callback function receives as only argument an instance of ExpressionInterface
*
* @param callable $callable The callable to apply to all sub-expressions.
* @return void
Expand Down

0 comments on commit bfc0cf2

Please sign in to comment.