Skip to content

Commit

Permalink
Remvo dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammad-Alavi committed Apr 19, 2021
1 parent 566d185 commit 485a954
Show file tree
Hide file tree
Showing 2 changed files with 320 additions and 3,173 deletions.
10 changes: 3 additions & 7 deletions Providers/MainServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

use App\Containers\VendorSection\Debugger\Tasks\QueryDebuggerTask;
use App\Ship\Parents\Providers\MainProvider;
use Barryvdh\Debugbar\Facade as Debugbar;
use Barryvdh\Debugbar\ServiceProvider as DebugbarServiceProvider;
use Jenssegers\Agent\AgentServiceProvider;
use Jenssegers\Agent\Facades\Agent;

Expand All @@ -23,16 +21,14 @@ class MainServiceProvider extends MainProvider
*/
public array $serviceProviders = [
AgentServiceProvider::class,
MiddlewareServiceProvider::class,
DebugbarServiceProvider::class
MiddlewareServiceProvider::class
];

/**
* Container Aliases
*/
public array $aliases = [
'Agent' => Agent::class,
'Debugbar' => Debugbar::class,
'Agent' => Agent::class
];

/**
Expand All @@ -42,6 +38,6 @@ public function register(): void
{
parent::register();

(new QueryDebuggerTask)->run();
app(QueryDebuggerTask::class)->run();
}
}
Loading

0 comments on commit 485a954

Please sign in to comment.