Code cleanup from inspection results

This commit is contained in:
Nabeel Shahzad
2018-08-26 13:50:08 -05:00
parent 0f3424f41e
commit e95b3eb366
76 changed files with 226 additions and 268 deletions

View File

@@ -3,13 +3,10 @@
namespace Modules\Vacentral\Providers;
use Illuminate\Support\ServiceProvider;
use Illuminate\Database\Eloquent\Factory;
use Route;
use App\Services\ModuleService;
class AppServiceProvider extends ServiceProvider
{
protected $defer = false;
protected $moduleSvc;
/**
@@ -17,7 +14,7 @@ class AppServiceProvider extends ServiceProvider
*/
public function boot()
{
$this->moduleSvc = app('App\Services\ModuleService');
$this->moduleSvc = app(ModuleService::class);
$this->registerConfig();
}