Skip to content

Commit

Permalink
Merge pull request #83 from CasperLaiTW/compatible-laravel-5.1-and-5.2
Browse files Browse the repository at this point in the history
Compatible with Laravel 5.2 or earlier
  • Loading branch information
Laracasts committed Dec 31, 2015
2 parents eb58b86 + ebb9afb commit d6afcc6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Commands/MigrationMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use Illuminate\Console\AppNamespaceDetectorTrait;
use Illuminate\Console\Command;
use Illuminate\Filesystem\Filesystem;
use Illuminate\Foundation\Composer;
use Laracasts\Generators\Migrations\NameParser;
use Laracasts\Generators\Migrations\SchemaParser;
use Laracasts\Generators\Migrations\SyntaxBuilder;
Expand Down Expand Up @@ -55,12 +54,12 @@ class MigrationMakeCommand extends Command
* @param Filesystem $files
* @param Composer $composer
*/
public function __construct(Filesystem $files, Composer $composer)
public function __construct(Filesystem $files)
{
parent::__construct();

$this->files = $files;
$this->composer = $composer;
$this->composer = app()['composer'];
}

/**
Expand Down

0 comments on commit d6afcc6

Please sign in to comment.