Skip to content

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

Merged
taylorotwell merged 1 commit into
laravel:12.xfrom
faissaloux:orhaving-value-expression-type
Mar 29, 2025
Merged

[12.x] Add Expression type to param $value of QueryBuilder orHaving() method#55202
taylorotwell merged 1 commit into
laravel:12.xfrom
faissaloux:orhaving-value-expression-type

Conversation

@faissaloux

Copy link
Copy Markdown
Contributor

Following #55200 as it's merged, in this PR I added QueryExpression type to param $value of QueryBuilder orHaving() method.

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

Static analyser error

image

@taylorotwell taylorotwell merged commit f2f55a2 into laravel:12.x Mar 29, 2025
@faissaloux faissaloux deleted the orhaving-value-expression-type branch March 29, 2025 17:48
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