Skip to content

Commit a66c1e3

Browse files
lulcoondrejmirtes
authored andcommitted
Updated Selection stub - count returns positive int or 0
1 parent 4be612e commit a66c1e3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: stubs/Database/Table/Selection.stub

+8
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,12 @@ class Selection implements \Iterator, \ArrayAccess
3535
public function where($condition, ...$params)
3636
{
3737
}
38+
39+
/*
40+
* @param string $column
41+
* @return positive-int|0
42+
*/
43+
public function count($column = null)
44+
{
45+
}
3846
}

0 commit comments

Comments
 (0)