Browse Source

Fix up doc block return types for chaining.

dereuromark 9 years ago
parent
commit
3c728d7f79
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Database/Query.php

+ 1 - 1
src/Database/Query.php

@@ -554,7 +554,7 @@ class Query implements ExpressionInterface, IteratorAggregate
      * @param array $types associative array of type names used to bind values to query
      * @param bool $overwrite whether to reset joins with passed list or not
      * @see \Cake\Database\Type
-     * @return $this
+     * @return $this|array
      */
     public function join($tables = null, $types = [], $overwrite = false)
     {