Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatible with Laravel 5.2 or earlier #83

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/Commands/MigrationMakeCommand.php
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