Skip to content

Commit 154a0f1

Browse files
authored
dates can be passed to having() (#54899)
1 parent 3dd1872 commit 154a0f1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Illuminate/Database/Query/Builder.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -2400,8 +2400,8 @@ public function groupByRaw($sql, array $bindings = [])
24002400
* Add a "having" clause to the query.
24012401
*
24022402
* @param \Illuminate\Contracts\Database\Query\Expression|\Closure|string $column
2403-
* @param string|int|float|null $operator
2404-
* @param string|int|float|null $value
2403+
* @param \DateTimeInterface|string|int|float|null $operator
2404+
* @param \DateTimeInterface|string|int|float|null $value
24052405
* @param string $boolean
24062406
* @return $this
24072407
*/
@@ -2452,8 +2452,8 @@ public function having($column, $operator = null, $value = null, $boolean = 'and
24522452
* Add an "or having" clause to the query.
24532453
*
24542454
* @param \Illuminate\Contracts\Database\Query\Expression|\Closure|string $column
2455-
* @param string|int|float|null $operator
2456-
* @param string|int|float|null $value
2455+
* @param \DateTimeInterface|string|int|float|null $operator
2456+
* @param \DateTimeInterface|string|int|float|null $value
24572457
* @return $this
24582458
*/
24592459
public function orHaving($column, $operator = null, $value = null)

0 commit comments

Comments
 (0)