From e1b1622244d08151df18aaf2415b7145ee3d2d36 Mon Sep 17 00:00:00 2001 From: Nikolay Oleynikov Date: Tue, 11 Apr 2017 18:20:41 +0300 Subject: [PATCH] Fix `\yii\db\QueryInterface` type hints (#13959) [skip ci] --- framework/db/QueryInterface.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/db/QueryInterface.php b/framework/db/QueryInterface.php index 6fa5194..2f52eac 100644 --- a/framework/db/QueryInterface.php +++ b/framework/db/QueryInterface.php @@ -241,14 +241,14 @@ interface QueryInterface /** * Sets the LIMIT part of the query. - * @param int $limit the limit. Use null or negative value to disable limit. + * @param int|null $limit the limit. Use null or negative value to disable limit. * @return $this the query object itself */ public function limit($limit); /** * Sets the OFFSET part of the query. - * @param int $offset the offset. Use null or negative value to disable offset. + * @param int|null $offset the offset. Use null or negative value to disable offset. * @return $this the query object itself */ public function offset($offset);