From 1a552b765cf1f3ce5b6d24e9942fe74edbaa81b0 Mon Sep 17 00:00:00 2001 From: Serge Byishimo Date: Thu, 19 Nov 2020 16:14:32 +0200 Subject: [PATCH] added array doc block for aggr. functions (#35283) --- .../Database/Eloquent/Concerns/QueriesRelationships.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 */