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;
use Illuminate\Filesystem\Filesystem;
use Illuminate\Support\Facades\Hash;
use Modules\Core\Services\Composer;
use Modules\User\Repositories\UserRepository;
class InstallCommand extends Command
{
......@@ -24,11 +23,6 @@ class InstallCommand extends Command
*/
protected $description = 'Install Asgard CMS';
/**
* @var UserRepository
*/
private $user;
/**
* @var Filesystem
*/
......@@ -45,15 +39,13 @@ class InstallCommand extends Command
/**
* Create a new command instance.
*
* @param UserRepository $user
* @param Filesystem $finder
* @param Application $app
* @param Composer $composer
*/
public function __construct($user, Filesystem $finder, Application $app, Composer $composer)
public function __construct(Filesystem $finder, Application $app, Composer $composer)
{
parent::__construct();
$this->user = $user;
$this->finder = $finder;
$this->app = $app;
$this->composer = $composer;
......
......@@ -88,7 +88,6 @@ class CoreServiceProvider extends ServiceProvider
{
$this->app->bindShared('command.asgard.install', function($app) {
return new InstallCommand(
$app['Modules\User\Repositories\UserRepository'],
$app['files'],
$app,
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