diff --git a/crmeb/app/dao/activity/combination/StoreCombinationDao.php b/crmeb/app/dao/activity/combination/StoreCombinationDao.php index 143f9f725..3baaf5674 100644 --- a/crmeb/app/dao/activity/combination/StoreCombinationDao.php +++ b/crmeb/app/dao/activity/combination/StoreCombinationDao.php @@ -71,7 +71,7 @@ class StoreCombinationDao extends BaseDao * @return int * @throws \ReflectionException */ - public function count(array $where = [], bool $search = true): int + public function count(array $where = [], bool $search = true) { return $this->search($where, $search)->count(); } diff --git a/crmeb/app/dao/activity/integral/StoreIntegralDao.php b/crmeb/app/dao/activity/integral/StoreIntegralDao.php index a39f9faeb..54a05f86f 100644 --- a/crmeb/app/dao/activity/integral/StoreIntegralDao.php +++ b/crmeb/app/dao/activity/integral/StoreIntegralDao.php @@ -39,7 +39,7 @@ class StoreIntegralDao extends BaseDao * @return int * @throws \ReflectionException */ - public function count(array $where = [], bool $search = true): int + public function count(array $where = [], bool $search = true) { return $this->search($where, $search)->count(); } diff --git a/crmeb/app/dao/activity/integral/StoreIntegralOrderDao.php b/crmeb/app/dao/activity/integral/StoreIntegralOrderDao.php index c9af9bc1f..515b21d6b 100644 --- a/crmeb/app/dao/activity/integral/StoreIntegralOrderDao.php +++ b/crmeb/app/dao/activity/integral/StoreIntegralOrderDao.php @@ -93,7 +93,7 @@ class StoreIntegralOrderDao extends BaseDao * @return int * @throws \ReflectionException */ - public function count(array $where = [], bool $search = true): int + public function count(array $where = [], bool $search = true) { return $this->search($where, $search)->count(); } diff --git a/crmeb/app/dao/order/OtherOrderDao.php b/crmeb/app/dao/order/OtherOrderDao.php index c5e6f1437..3eb3f1ed3 100644 --- a/crmeb/app/dao/order/OtherOrderDao.php +++ b/crmeb/app/dao/order/OtherOrderDao.php @@ -190,7 +190,7 @@ class OtherOrderDao extends BaseDao * @email 442384644@qq.com * @date 2023/04/11 */ - public function count(array $where = [], bool $search = true): int + public function count(array $where = [], bool $search = true) { return $this->search($where, $search)->count(); } diff --git a/crmeb/app/dao/order/StoreOrderDao.php b/crmeb/app/dao/order/StoreOrderDao.php index 13d4f0756..6a351008a 100644 --- a/crmeb/app/dao/order/StoreOrderDao.php +++ b/crmeb/app/dao/order/StoreOrderDao.php @@ -269,7 +269,7 @@ class StoreOrderDao extends BaseDao * @return int * @throws \ReflectionException */ - public function count(array $where = [], bool $search = true): int + public function count(array $where = [], bool $search = true) { return $this->search($where, $search)->count(); } diff --git a/crmeb/app/dao/service/StoreServiceDao.php b/crmeb/app/dao/service/StoreServiceDao.php index 52284fd2e..04c953898 100644 --- a/crmeb/app/dao/service/StoreServiceDao.php +++ b/crmeb/app/dao/service/StoreServiceDao.php @@ -96,7 +96,7 @@ class StoreServiceDao extends BaseDao * @email 442384644@qq.com * @date 2023/05/10 */ - public function count(array $where = [], $search = true) + public function count(array $where = [], bool $search = true) { return $this->search($where, false)->when(isset($where['noId']), function ($query) use ($where) { $query->whereNotIn('uid', $where['noId']); diff --git a/crmeb/app/dao/wechat/WechatReplyKeyDao.php b/crmeb/app/dao/wechat/WechatReplyKeyDao.php index a14560f9d..dcf40e501 100644 --- a/crmeb/app/dao/wechat/WechatReplyKeyDao.php +++ b/crmeb/app/dao/wechat/WechatReplyKeyDao.php @@ -106,7 +106,7 @@ class WechatReplyKeyDao extends BaseDao * @param bool $search * @return int */ - public function count(array $where = [], bool $search = true): int + public function count(array $where = [], bool $search = true) { return $this->search($where, $search)->group($this->alias . '.id')->count(); }