Skip to content

[12.x] Fix incorrect typehints in BuildsWhereDateClauses traits #54784

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 25, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/Illuminate/Database/Concerns/BuildsWhereDateClauses.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ public function orWhereNowOrFuture($columns)
* Add an "where" clause to determine if a "date" column is in the past or future.
*
* @param array|string $columns
* @param string $operator
* @param string $boolean
* @return $this
*/
protected function wherePastOrFuture($columns, $operator, $boolean)
Expand Down Expand Up @@ -197,7 +199,6 @@ public function orWhereBeforeToday($columns)
* Add an "or where date" clause to determine if a "date" column is today or before to the query.
*
* @param array|string $columns
* @param string $boolean
* @return $this
*/
public function orWhereTodayOrBefore($columns)
Expand All @@ -209,7 +210,6 @@ public function orWhereTodayOrBefore($columns)
* Add an "or where date" clause to determine if a "date" column is after today.
*
* @param array|string $columns
* @param string $boolean
* @return $this
*/
public function orWhereAfterToday($columns)
Expand All @@ -221,7 +221,6 @@ public function orWhereAfterToday($columns)
* Add an "or where date" clause to determine if a "date" column is today or after to the query.
*
* @param array|string $columns
* @param string $boolean
* @return $this
*/
public function orWhereTodayOrAfter($columns)
Expand Down
Loading