Update Application.php

Its better to check if services is extending Base Class i.e. \Illuminate\Support\ServiceProvider