From f5929d87e01ad2ed96d8bcb3a9d14ea5239cbc5a Mon Sep 17 00:00:00 2001 From: Robbie Averill Date: Tue, 25 Sep 2018 17:34:03 +0200 Subject: [PATCH] DOCS Update do blocks for DataQuery::having() to reflect correct input types --- src/ORM/DataQuery.php | 2 +- src/ORM/Queries/SQLSelect.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ORM/DataQuery.php b/src/ORM/DataQuery.php index e403f90b3..dd21d2bc2 100644 --- a/src/ORM/DataQuery.php +++ b/src/ORM/DataQuery.php @@ -599,7 +599,7 @@ class DataQuery /** * Append a HAVING clause to this query. * - * @param string $having Escaped SQL statement + * @param mixed $having Predicate(s) to set, as escaped SQL statements or parameterised queries * @return $this */ public function having($having) diff --git a/src/ORM/Queries/SQLSelect.php b/src/ORM/Queries/SQLSelect.php index 971a12422..229ab56ce 100644 --- a/src/ORM/Queries/SQLSelect.php +++ b/src/ORM/Queries/SQLSelect.php @@ -481,7 +481,7 @@ class SQLSelect extends SQLConditionalExpression * * @see SQLSelect::addWhere() for syntax examples * - * @param mixed $having Predicate(s) to set, as escaped SQL statements or paramaterised queries + * @param mixed $having Predicate(s) to set, as escaped SQL statements or parameterised queries * @param mixed $having,... Unlimited additional predicates * @return $this Self reference */ @@ -497,7 +497,7 @@ class SQLSelect extends SQLConditionalExpression * * @see SQLSelect::addWhere() for syntax examples * - * @param mixed $having Predicate(s) to set, as escaped SQL statements or paramaterised queries + * @param mixed $having Predicate(s) to set, as escaped SQL statements or parameterised queries * @param mixed $having,... Unlimited additional predicates * @return $this Self reference */