Fix ImplicitToStringCast error (#34828)
Fix ImplicitToStringCast error (#34828)

Fixes this error when running phpstan. example:
```
ERROR: ImplicitToStringCast - app\JsonApi\Adapters\BookingAdapter.php:166:33 - Argument 1 of Illuminate\Database\Eloquent\Builder::orWhere expects Closure|array<array-key, mixed>|string, Illuminate\Database\Query\Expression provided with a __toString method (see https://psalm.dev/060)
                $query->orWhere(DB::raw("LOWER({$query->qualifyColumn('code')})"), 'like', "%{$q}%")
```
mul14/laravel-framework,dwightwatson/framework,bytestream/framework,JosephSilber/framework,tomschlick/framework,laravel/framework,tomschlick/framework,JamesForks/framework,JamesForks/framework,driesvints/framework,lucasmichot/framework,driesvints/framework,arturock/framework,lucasmichot/framework,arturock/framework,morrislaptop/framework,crynobone/framework,notebowl/laravel-framework,leo108/laravel_framework,dwightwatson/framework,bytestream/framework,laravel/framework,notebowl/laravel-framework,mul14/laravel-framework,stevebauman/framework,morrislaptop/framework,hafezdivandari/framework,leo108/laravel_framework,hafezdivandari/framework,JosephSilber/framework,stevebauman/framework,mul14/laravel-framework,mul14/laravel-framework,crynobone/framework,tomschlick/framework,samlev/framework,arturock/framework,samlev/framework