Skip to content

Commit

Permalink
参数类型完善
Browse files Browse the repository at this point in the history
  • Loading branch information
big-dream committed Nov 7, 2024
1 parent 10445de commit 496bc08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/db/concern/ModelRelationQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ public function withJoin(array | string $with, string $joinType = '')
*
* @return $this
*/
protected function withAggregate(string | array $relations, string $aggregate = 'count', $field = '*', bool $subQuery = true)
protected function withAggregate(string | array $relations, string $aggregate = 'count', string $field = '*', bool $subQuery = true)

Check warning on line 411 in src/db/concern/ModelRelationQuery.php

View check run for this annotation

Codecov / codecov/patch

src/db/concern/ModelRelationQuery.php#L411

Added line #L411 was not covered by tests
{
if (empty($this->model)) {
return $this;
Expand Down

0 comments on commit 496bc08

Please sign in to comment.