diff --git a/system/Database/BaseBuilder.php b/system/Database/BaseBuilder.php index 0306651b2e85..2e983f2fd7ab 100644 --- a/system/Database/BaseBuilder.php +++ b/system/Database/BaseBuilder.php @@ -1293,7 +1293,7 @@ public function orderBy(string $orderBy, string $direction = '', bool $escape = * * @return BaseBuilder */ - public function limit(int $value = null, int $offset = 0) + public function limit(int $value = null, ?int $offset = 0) { if (! is_null($value)) {