ソースを参照

Merge pull request #9498 from pedro-stanaka/fix-docs-orm

Fix Documentation on Cake/ORM/Query
José Lorenzo Rodríguez 9 年 前
コミット
e82bd73275
1 ファイル変更2 行追加2 行削除
  1. 2 2
      src/ORM/Query.php

+ 2 - 2
src/ORM/Query.php

@@ -62,10 +62,10 @@ use Traversable;
  * @method \Cake\Collection\CollectionInterface stopWhen(callable $c) Returns each row until the callable returns true.
  * @method \Cake\Collection\CollectionInterface zip(array|\Traversable $c) Returns the first result of both the query and $c in an array,
  *   then the second results and so on.
- * @method \Cake\Collection\CollectionInterface zipWith(...$collections, callable $c) Returns each of the results out of calling $c
+ * @method \Cake\Collection\CollectionInterface zipWith($collections, callable $callable) Returns each of the results out of calling $c
  *   with the first rows of the query and each of the items, then the second rows and so on.
  * @method \Cake\Collection\CollectionInterface chunk($size) Groups the results in arrays of $size rows each.
- * @method bool isEmpty($size) Returns true if this query found no results.
+ * @method bool isEmpty() Returns true if this query found no results.
  */
 class Query extends DatabaseQuery implements JsonSerializable, QueryInterface
 {