From aae00682e07a29440236c48f3ac64db6c0f9a4da Mon Sep 17 00:00:00 2001 From: Paul Vogel Date: Fri, 20 Dec 2024 17:22:23 +0100 Subject: [PATCH] add a ? to implicitly nullable parameter types to make them explicitly nullable --- src/Query/Generator/SQL.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Query/Generator/SQL.php b/src/Query/Generator/SQL.php index 88f0fad..89cc6f6 100644 --- a/src/Query/Generator/SQL.php +++ b/src/Query/Generator/SQL.php @@ -112,7 +112,7 @@ public function generate(Query $query): string * @param WhereCondition|WhereGroup|null $where * @return string */ - private function generateWhere(Query $query, WhereCondition|WhereGroup $where = null): string + private function generateWhere(Query $query, WhereCondition|WhereGroup|null $where = null): string { if (!$where) { $where = $query->getWhere();