Commit 6b4da4d6 authored by Nicolas Widart's avatar Nicolas Widart

Removing unused class property

parent 95745ad9
...@@ -6,7 +6,6 @@ use Illuminate\Contracts\Foundation\Application; ...@@ -6,7 +6,6 @@ use Illuminate\Contracts\Foundation\Application;
use Illuminate\Filesystem\Filesystem; use Illuminate\Filesystem\Filesystem;
use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Hash;
use Modules\Core\Services\Composer; use Modules\Core\Services\Composer;
use Modules\User\Repositories\UserRepository;
class InstallCommand extends Command class InstallCommand extends Command
{ {
...@@ -24,11 +23,6 @@ class InstallCommand extends Command ...@@ -24,11 +23,6 @@ class InstallCommand extends Command
*/ */
protected $description = 'Install Asgard CMS'; protected $description = 'Install Asgard CMS';
/**
* @var UserRepository
*/
private $user;
/** /**
* @var Filesystem * @var Filesystem
*/ */
...@@ -45,15 +39,13 @@ class InstallCommand extends Command ...@@ -45,15 +39,13 @@ class InstallCommand extends Command
/** /**
* Create a new command instance. * Create a new command instance.
* *
* @param UserRepository $user
* @param Filesystem $finder * @param Filesystem $finder
* @param Application $app * @param Application $app
* @param Composer $composer * @param Composer $composer
*/ */
public function __construct($user, Filesystem $finder, Application $app, Composer $composer) public function __construct(Filesystem $finder, Application $app, Composer $composer)
{ {
parent::__construct(); parent::__construct();
$this->user = $user;
$this->finder = $finder; $this->finder = $finder;
$this->app = $app; $this->app = $app;
$this->composer = $composer; $this->composer = $composer;
......
...@@ -88,7 +88,6 @@ class CoreServiceProvider extends ServiceProvider ...@@ -88,7 +88,6 @@ class CoreServiceProvider extends ServiceProvider
{ {
$this->app->bindShared('command.asgard.install', function($app) { $this->app->bindShared('command.asgard.install', function($app) {
return new InstallCommand( return new InstallCommand(
$app['Modules\User\Repositories\UserRepository'],
$app['files'], $app['files'],
$app, $app,
new Composer($app['files']) new Composer($app['files'])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment