Skip to content

Commit 4be612e

Browse files
ricco24ondrejmirtes
authored andcommitted
Add typehints for where() method in Selection
1 parent c434fd5 commit 4be612e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

stubs/Database/Table/Selection.stub

+9
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,13 @@ class Selection implements \Iterator, \ArrayAccess
2626
public function page(int $page, int $itemsPerPage, &$numOfPages = null)
2727
{
2828
}
29+
30+
/**
31+
* @param string|array<string|int,mixed> $condition
32+
* @param mixed $params
33+
* @return static
34+
*/
35+
public function where($condition, ...$params)
36+
{
37+
}
2938
}

0 commit comments

Comments
 (0)