This commit is contained in:
liaofei 2023-06-06 16:12:13 +08:00
parent 5fdd994b54
commit d4e2238e03
7 changed files with 7 additions and 7 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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