The deprecated `getBaseQuery` was initially removed, but then it was [added back](https://github.com/laravel/framework/pull/41923) because it caused a regression. I think this should be removed from the Laravel 10 set.