- Laravel Version: 5.4 - PHP Version: 7.3 - Database Driver & Version: MySQL ### Description: when trying to `compact` the `operator` variable which does not exits, php 7.3 will throw an `ErrorException`. ```bash ErrorException compact(): Undefined variable: operator ``` https://github.com/laravel/framework/blob/8a74cf931b9df281707cef973ee9fba5b18793e8/src/Illuminate/Database/Query/Builder.php#L1229 ### Steps To Reproduce: Chain a `has` method onto the `Query/Builder` in php 7.3. Similar to https://github.com/laravel/framework/pull/25193