Skip to content

Commit

Permalink
more comprehensive type hinting of the $operator parameter (#49599)
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzolosa committed Jan 6, 2024
1 parent 3141ef2 commit 840c8d6
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/Illuminate/Database/Query/Builder.php
Expand Up @@ -1379,7 +1379,7 @@ public function orWhereNotNull($column)
* Add a "where date" statement to the query.
*
* @param \Illuminate\Contracts\Database\Query\Expression|string $column
* @param string $operator
* @param \DateTimeInterface|string|null $operator
* @param \DateTimeInterface|string|null $value
* @param string $boolean
* @return $this
Expand All @@ -1403,7 +1403,7 @@ public function whereDate($column, $operator, $value = null, $boolean = 'and')
* Add an "or where date" statement to the query.
*
* @param \Illuminate\Contracts\Database\Query\Expression|string $column
* @param string $operator
* @param \DateTimeInterface|string|null $operator
* @param \DateTimeInterface|string|null $value
* @return $this
*/
Expand All @@ -1420,7 +1420,7 @@ public function orWhereDate($column, $operator, $value = null)
* Add a "where time" statement to the query.
*
* @param \Illuminate\Contracts\Database\Query\Expression|string $column
* @param string $operator
* @param \DateTimeInterface|string|null $operator
* @param \DateTimeInterface|string|null $value
* @param string $boolean
* @return $this
Expand All @@ -1444,7 +1444,7 @@ public function whereTime($column, $operator, $value = null, $boolean = 'and')
* Add an "or where time" statement to the query.
*
* @param \Illuminate\Contracts\Database\Query\Expression|string $column
* @param string $operator
* @param \DateTimeInterface|string|null $operator
* @param \DateTimeInterface|string|null $value
* @return $this
*/
Expand All @@ -1461,7 +1461,7 @@ public function orWhereTime($column, $operator, $value = null)
* Add a "where day" statement to the query.
*
* @param \Illuminate\Contracts\Database\Query\Expression|string $column
* @param string $operator
* @param \DateTimeInterface|string|int|null $operator
* @param \DateTimeInterface|string|int|null $value
* @param string $boolean
* @return $this
Expand Down Expand Up @@ -1489,7 +1489,7 @@ public function whereDay($column, $operator, $value = null, $boolean = 'and')
* Add an "or where day" statement to the query.
*
* @param \Illuminate\Contracts\Database\Query\Expression|string $column
* @param string $operator
* @param \DateTimeInterface|string|int|null $operator
* @param \DateTimeInterface|string|int|null $value
* @return $this
*/
Expand All @@ -1506,7 +1506,7 @@ public function orWhereDay($column, $operator, $value = null)
* Add a "where month" statement to the query.
*
* @param \Illuminate\Contracts\Database\Query\Expression|string $column
* @param string $operator
* @param \DateTimeInterface|string|int|null $operator
* @param \DateTimeInterface|string|int|null $value
* @param string $boolean
* @return $this
Expand Down Expand Up @@ -1534,7 +1534,7 @@ public function whereMonth($column, $operator, $value = null, $boolean = 'and')
* Add an "or where month" statement to the query.
*
* @param \Illuminate\Contracts\Database\Query\Expression|string $column
* @param string $operator
* @param \DateTimeInterface|string|int|null $operator
* @param \DateTimeInterface|string|int|null $value
* @return $this
*/
Expand All @@ -1551,7 +1551,7 @@ public function orWhereMonth($column, $operator, $value = null)
* Add a "where year" statement to the query.
*
* @param \Illuminate\Contracts\Database\Query\Expression|string $column
* @param string $operator
* @param \DateTimeInterface|string|int|null $operator
* @param \DateTimeInterface|string|int|null $value
* @param string $boolean
* @return $this
Expand All @@ -1575,7 +1575,7 @@ public function whereYear($column, $operator, $value = null, $boolean = 'and')
* Add an "or where year" statement to the query.
*
* @param \Illuminate\Contracts\Database\Query\Expression|string $column
* @param string $operator
* @param \DateTimeInterface|string|int|null $operator
* @param \DateTimeInterface|string|int|null $value
* @return $this
*/
Expand Down

0 comments on commit 840c8d6

Please sign in to comment.