Browse Source

Add callable typehint to `or_` query expression

Timur Asaliev 7 years ago
parent
commit
b4dc9c9ece
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Database/Expression/QueryExpression.php

+ 1 - 1
src/Database/Expression/QueryExpression.php

@@ -467,7 +467,7 @@ class QueryExpression implements ExpressionInterface, Countable
      * Returns a new QueryExpression object containing all the conditions passed
      * and set up the conjunction to be "OR"
      *
-     * @param string|array|\Cake\Database\ExpressionInterface $conditions to be joined with OR
+     * @param callable|string|array|\Cake\Database\ExpressionInterface $conditions to be joined with OR
      * @param array $types associative array of fields pointing to the type of the
      * values that are being passed. Used for correctly binding values to statements.
      * @return \Cake\Database\Expression\QueryExpression