File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ class Query extends BaseStatement
9494 * Create new instance
9595 * @param QueryStatement|null $queryStatement
9696 */
97- public function __construct (QueryStatement $ queryStatement = null )
97+ public function __construct (? QueryStatement $ queryStatement = null )
9898 {
9999 parent ::__construct ($ queryStatement );
100100 $ this ->havingStatement = new HavingStatement ($ this ->queryStatement );
@@ -185,7 +185,7 @@ public function groupBy(string|Expression|Closure|array $columns): self
185185 * @param Closure|null $value
186186 * @return $this
187187 */
188- public function having (string |Expression |Closure $ column , Closure $ value = null ): self
188+ public function having (string |Expression |Closure $ column , ? Closure $ value = null ): self
189189 {
190190 $ this ->getHavingStatement ()->having ($ column , $ value );
191191
@@ -198,7 +198,7 @@ public function having(string|Expression|Closure $column, Closure $value = null)
198198 * @param Closure|null $value
199199 * @return $this
200200 */
201- public function orHaving (string |Expression |Closure $ column , Closure $ value = null ): self
201+ public function orHaving (string |Expression |Closure $ column , ? Closure $ value = null ): self
202202 {
203203 $ this ->getHavingStatement ()->orHaving ($ column , $ value );
204204
You can’t perform that action at this time.
0 commit comments