@@ -8,39 +8,39 @@ namespace Nette\Database\Table;
88 */
99class Selection implements \Iterator, \ArrayAccess
1010{
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- * @return static
25- */
26- public function page(int $page, int $itemsPerPage, &$numOfPages = null)
27- {
28- }
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+ * @return static
25+ */
26+ public function page(int $page, int $itemsPerPage, &$numOfPages = null)
27+ {
28+ }
2929
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- }
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+ }
3838
39- /**
40- * @param string $column
41- * @return positive-int|0
42- */
43- public function count($column = null)
44- {
45- }
39+ /**
40+ * @param string $column
41+ * @return positive-int|0
42+ */
43+ public function count($column = null)
44+ {
45+ }
4646}
0 commit comments