Updates type hinting for `having()` and `orHaving()` database builder methods (#42593)
Updates type hinting for `having()` and `orHaving()` database builder methods (#42593)

Co-authored-by: Maxime Maisonnas <1acc295174379ec718e1123290d06dcd8d68feb6@noshow.io>
arturock/framework,hafezdivandari/framework,leo108/laravel_framework,arturock/framework,driesvints/framework,morrislaptop/framework,driesvints/framework,morrislaptop/framework,laravel/framework,JamesForks/framework,lucasmichot/framework,arturock/framework,JamesForks/framework,leo108/laravel_framework,hafezdivandari/framework,lucasmichot/framework,laravel/framework