Apply fixes from StyleCI

This commit is contained in:
Manish Verma
2018-11-14 07:17:28 +00:00
parent 1e7a891d3a
commit aa6d74052c

View File

@@ -3,7 +3,6 @@
namespace App\Providers; namespace App\Providers;
use App\Model\Update\BarNotification; use App\Model\Update\BarNotification;
use App\Model\helpdesk\Settings\Plugin;
use Illuminate\Queue\Events\JobFailed; use Illuminate\Queue\Events\JobFailed;
use Illuminate\Support\Facades\Route; use Illuminate\Support\Facades\Route;
use Illuminate\Support\ServiceProvider; use Illuminate\Support\ServiceProvider;
@@ -59,7 +58,7 @@ class AppServiceProvider extends ServiceProvider
$activePlugins = \DB::table('plugins')->select('name', 'path')->where('status', 1)->get(); $activePlugins = \DB::table('plugins')->select('name', 'path')->where('status', 1)->get();
foreach ($activePlugins as $activePlugin) { foreach ($activePlugins as $activePlugin) {
if ($this->isPluginDir($activePlugin->name)) { if ($this->isPluginDir($activePlugin->name)) {
$class = '\App\Plugins\\'.$activePlugin->name.'\ServiceProvider'; $class = '\App\Plugins\\'.$activePlugin->name.'\ServiceProvider';
$this->app->register($class); $this->app->register($class);
} }
} }