Browse Source

Fix typo in newExp(); resolve cakephp/docs#6178

Alex 6 years ago
parent
commit
51deb99248
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Database/Query.php

+ 1 - 1
src/Database/Query.php

@@ -1584,7 +1584,7 @@ class Query implements ExpressionInterface, IteratorAggregate
      * ### Example
      *
      * ```
-     * $query->newExp()->lte('count', $query->identifier('total'));
+     * $query->newExpr()->lte('count', $query->identifier('total'));
      * ```
      *
      * @param string $identifier The identifier for an expression