diff --git a/src/Illuminate/Database/Eloquent/Concerns/QueriesRelationships.php b/src/Illuminate/Database/Eloquent/Concerns/QueriesRelationships.php index 4271fcc28586..065e1b4fbcd7 100644 --- a/src/Illuminate/Database/Eloquent/Concerns/QueriesRelationships.php +++ b/src/Illuminate/Database/Eloquent/Concerns/QueriesRelationships.php @@ -442,7 +442,7 @@ public function withCount($relations) /** * Add subselect queries to include the max of the relation's column. * - * @param string $relation + * @param string|array $relation * @param string $column * @return $this */ @@ -454,7 +454,7 @@ public function withMax($relation, $column) /** * Add subselect queries to include the min of the relation's column. * - * @param string $relation + * @param string|array $relation * @param string $column * @return $this */ @@ -466,7 +466,7 @@ public function withMin($relation, $column) /** * Add subselect queries to include the sum of the relation's column. * - * @param string $relation + * @param string|array $relation * @param string $column * @return $this */ @@ -478,7 +478,7 @@ public function withSum($relation, $column) /** * Add subselect queries to include the average of the relation's column. * - * @param string $relation + * @param string|array $relation * @param string $column * @return $this */