We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16a1457 commit 0fd6953Copy full SHA for 0fd6953
stubs/Database/Table/Selection.stub
@@ -8,5 +8,22 @@ namespace Nette\Database\Table;
8
*/
9
class Selection implements \Iterator, \ArrayAccess
10
{
11
-
+ /**
12
+ * @phpstan-param positive-int|0|null $limit
13
+ * @phpstan-param positive-int|0|null $offset
14
+ * @return static
15
+ */
16
+ public function limit(?int $limit, int $offset = null)
17
+ {
18
+ }
19
+
20
21
+ * @phpstan-param positive-int|0 $page
22
+ * @phpstan-param positive-int|0 $itemsPerPage
23
+ * @param int $numOfPages [optional]
24
25
26
+ public function page(int $page, int $itemsPerPage, &$numOfPages = null)
27
28
29
}
0 commit comments