[8.x] Add has environment variable to startProcess method (#37142)
[8.x] Add has environment variable to startProcess method (#37142)

* add has environment variable to startProcess method

* fix style

* fix second startProcess method

* Update ServeCommand.php

* Update ServeCommand.php

Co-authored-by: Taylor Otwell <5d74ae093a16a00e5af127763f2dc7e13988f162@laravel.com>
crynobone/framework,arturock/framework,leo108/laravel_framework,dwightwatson/framework,bytestream/framework,leo108/laravel_framework,morrislaptop/framework,morrislaptop/framework,tomschlick/framework,notebowl/laravel-framework,mul14/laravel-framework,tomschlick/framework,JamesForks/framework,JamesForks/framework,mul14/laravel-framework,stevebauman/framework,dwightwatson/framework,samlev/framework,lucasmichot/framework,arturock/framework,laravel/framework,arturock/framework,hafezdivandari/framework,samlev/framework,lucasmichot/framework,hafezdivandari/framework,crynobone/framework,laravel/framework,bytestream/framework,driesvints/framework,tomschlick/framework,stevebauman/framework,mul14/laravel-framework,driesvints/framework,notebowl/laravel-framework,mul14/laravel-framework