From accd0b6db41866095367bcf09b7ca941771abbf8 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Wed, 6 Sep 2017 10:18:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9B=E4=B8=80=E5=A4=84=E5=BC=82?= =?UTF-8?q?=E5=B8=B8=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/db/Query.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/think/db/Query.php b/library/think/db/Query.php index ad9ae521..108d12cc 100644 --- a/library/think/db/Query.php +++ b/library/think/db/Query.php @@ -2569,7 +2569,7 @@ class Query * @param string $column 分批处理的字段名 * @param string $order 排序规则 * @return boolean - * @throws DbException + * @throws \LogicException */ public function chunk($count, $callback, $column = null, $order = 'asc') { @@ -2585,7 +2585,7 @@ class Query } if (isset($options['order'])) { if (App::$debug) { - throw new DbException('chunk not support call order'); + throw new \LogicException('chunk not support call order'); } unset($options['order']); }