Skip to content

Commit d4c3490

Browse files
krizdaviddg
authored andcommitted
fixed typehint (#236)
1 parent f2cb5de commit d4c3490

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Database/Table/Selection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ public function order(string $columns, ...$params)
394394
* Sets limit clause, more calls rewrite old values.
395395
* @return static
396396
*/
397-
public function limit(int $limit, int $offset = null)
397+
public function limit(?int $limit, int $offset = null)
398398
{
399399
$this->emptyResultSet();
400400
$this->sqlBuilder->setLimit($limit, $offset);

0 commit comments

Comments
 (0)