removing errors PSR2 ServiceProvider