Skip to content

Commit

Permalink
Updated Selection stub - count returns positive int or 0
Browse files Browse the repository at this point in the history
  • Loading branch information
lulco authored and ondrejmirtes committed Jun 8, 2021
1 parent 4be612e commit a66c1e3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions stubs/Database/Table/Selection.stub
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,12 @@ class Selection implements \Iterator, \ArrayAccess
public function where($condition, ...$params)
{
}

/*
* @param string $column
* @return positive-int|0
*/
public function count($column = null)
{
}
}

0 comments on commit a66c1e3

Please # to comment.