From 8c40c2b4ad4d6ee34dc56e63f6037aeb1a6a93e1 Mon Sep 17 00:00:00 2001 From: Franz Liedke <franz@develophp.org> Date: Wed, 3 Jun 2015 03:19:32 +0200 Subject: [PATCH] Get rid of unneeded injected dependency. --- src/Console/InstallCommand.php | 13 ------------- src/Console/SeedCommand.php | 13 ------------- 2 files changed, 26 deletions(-) diff --git a/src/Console/InstallCommand.php b/src/Console/InstallCommand.php index d709e8013..a2f81479f 100644 --- a/src/Console/InstallCommand.php +++ b/src/Console/InstallCommand.php @@ -1,7 +1,6 @@ <?php namespace Flarum\Console; use Illuminate\Console\Command; -use Illuminate\Foundation\Application; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Input\InputArgument; @@ -22,18 +21,6 @@ class InstallCommand extends Command */ 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. * diff --git a/src/Console/SeedCommand.php b/src/Console/SeedCommand.php index f8db5eee4..e05222310 100644 --- a/src/Console/SeedCommand.php +++ b/src/Console/SeedCommand.php @@ -1,7 +1,6 @@ <?php namespace Flarum\Console; use Illuminate\Console\Command; -use Illuminate\Foundation\Application; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Input\InputArgument; @@ -22,18 +21,6 @@ class SeedCommand extends Command */ 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. *