mirror of
https://github.com/flarum/framework.git
synced 2024-12-13 07:03:35 +08:00
Get rid of unneeded injected dependency.
This commit is contained in:
parent
ab18af34ff
commit
77aecaec9d
|
@ -1,7 +1,6 @@
|
||||||
<?php namespace Flarum\Console;
|
<?php namespace Flarum\Console;
|
||||||
|
|
||||||
use Illuminate\Console\Command;
|
use Illuminate\Console\Command;
|
||||||
use Illuminate\Foundation\Application;
|
|
||||||
use Symfony\Component\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Component\Console\Input\InputArgument;
|
use Symfony\Component\Console\Input\InputArgument;
|
||||||
|
|
||||||
|
@ -22,18 +21,6 @@ class InstallCommand extends Command
|
||||||
*/
|
*/
|
||||||
protected $description = 'Run Flarum\'s installation migrations and seeds.';
|
protected $description = 'Run Flarum\'s installation migrations and seeds.';
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a new command instance.
|
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function __construct(Application $app)
|
|
||||||
{
|
|
||||||
parent::__construct();
|
|
||||||
|
|
||||||
$this->app = $app;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Execute the console command.
|
* Execute the console command.
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
<?php namespace Flarum\Console;
|
<?php namespace Flarum\Console;
|
||||||
|
|
||||||
use Illuminate\Console\Command;
|
use Illuminate\Console\Command;
|
||||||
use Illuminate\Foundation\Application;
|
|
||||||
use Symfony\Component\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Component\Console\Input\InputArgument;
|
use Symfony\Component\Console\Input\InputArgument;
|
||||||
|
|
||||||
|
@ -22,18 +21,6 @@ class SeedCommand extends Command
|
||||||
*/
|
*/
|
||||||
protected $description = 'Seed Flarum\'s database with fake data.';
|
protected $description = 'Seed Flarum\'s database with fake data.';
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a new command instance.
|
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function __construct(Application $app)
|
|
||||||
{
|
|
||||||
parent::__construct();
|
|
||||||
|
|
||||||
$this->app = $app;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Execute the console command.
|
* Execute the console command.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue
Block a user