Skip to content

[12.x] Add Expression type to param $value of QueryBuilder having() method#55200

Merged
taylorotwell merged 2 commits into
laravel:12.xfrom
faissaloux:having-value-expression-type
Mar 29, 2025
Merged

[12.x] Add Expression type to param $value of QueryBuilder having() method#55200
taylorotwell merged 2 commits into
laravel:12.xfrom
faissaloux:having-value-expression-type

Conversation

@faissaloux

Copy link
Copy Markdown
Contributor

In this PR I added QueryExpression type to param $value of QueryBuilder having() method.

$query->having('count', '<', DB::raw('max'));

Static analyser error

image

@taylorotwell taylorotwell merged commit 543867d into laravel:12.x Mar 29, 2025
@faissaloux faissaloux deleted the having-value-expression-type branch March 29, 2025 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants