Skip to content

Commit c5c97e4

Browse files
MaxoulakMaxime Maisonnas
andauthored
refacto: Updates type hinting for having() and orHaving() QueryBuilder methods (#42628)
Co-authored-by: Maxime Maisonnas <[email protected]>
1 parent 324ec3b commit c5c97e4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Illuminate/Database/Query/Builder.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2003,8 +2003,8 @@ public function groupByRaw($sql, array $bindings = [])
20032003
* Add a "having" clause to the query.
20042004
*
20052005
* @param \Closure|string $column
2006-
* @param mixed $operator
2007-
* @param mixed $value
2006+
* @param string|int|float|null $operator
2007+
* @param string|int|float|null $value
20082008
* @param string $boolean
20092009
* @return $this
20102010
*/
@@ -2047,8 +2047,8 @@ public function having($column, $operator = null, $value = null, $boolean = 'and
20472047
* Add an "or having" clause to the query.
20482048
*
20492049
* @param \Closure|string $column
2050-
* @param mixed $operator
2051-
* @param mixed $value
2050+
* @param string|int|float|null $operator
2051+
* @param string|int|float|null $value
20522052
* @return $this
20532053
*/
20542054
public function orHaving($column, $operator = null, $value = null)

0 commit comments

Comments
 (0)