Browse Source

Merge pull request #15015 from itosho/fix-type-hinting-on-epilog

Allow Cake\Database\ExpressionInterface as argument for epilog()
ADmad 5 years ago
parent
commit
35f866cf18
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Database/Query.php

+ 1 - 1
src/Database/Query.php

@@ -1820,7 +1820,7 @@ class Query implements ExpressionInterface, IteratorAggregate
      *
      * Epliog content is raw SQL and not suitable for use with user supplied data.
      *
-     * @param string|\Cake\Database\Expression\QueryExpression|null $expression The expression to be appended
+     * @param string|\Cake\Database\ExpressionInterface|null $expression The expression to be appended
      * @return $this
      */
     public function epilog($expression = null)