Skip to content

Commit

Permalink
Fixing documentation of Query#isEmpty
Browse files Browse the repository at this point in the history
This method comes from CollectionTrait and should not be declared with and argument.
  • Loading branch information
pedro-stanaka committed Sep 22, 2016
1 parent 9a4258e commit 159b1ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ORM/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
* @method \Cake\Collection\CollectionInterface zipWith(...$collections, callable $c) 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
{
Expand Down

0 comments on commit 159b1ad

Please sign in to comment.