mirror of
https://github.com/flarum/core.git
synced 2025-07-25 02:31:17 +02:00
Get rid of unneeded injected dependency.
This commit is contained in:
@@ -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.
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user