liaofei 2 лет назад
Родитель
Сommit
d4e2238e03

+ 1 - 1
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();
     }

+ 1 - 1
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();
     }

+ 1 - 1
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();
     }

+ 1 - 1
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();
     }

+ 1 - 1
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();
     }

+ 1 - 1
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']);

+ 1 - 1
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();
     }