Skip to content

Commit

Permalink
Merge pull request #30 from virutmath/master
Browse files Browse the repository at this point in the history
Compatiable with Laravel 7 MigrationCreator construct
  • Loading branch information
jxlwqq authored Oct 11, 2021
2 parents 8b79df2 + 26ad49a commit b5ee617
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Scaffold/MigrationCreator.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace Encore\Admin\Helpers\Scaffold;

use Illuminate\Database\Migrations\MigrationCreator as BaseMigrationCreator;
use Illuminate\Filesystem\Filesystem;
use Illuminate\Support\Arr;

class MigrationCreator extends BaseMigrationCreator
Expand All @@ -12,6 +13,11 @@ class MigrationCreator extends BaseMigrationCreator
*/
protected $bluePrint = '';

public function __construct(Filesystem $files, $customStubPath = null)
{
parent::__construct($files, $customStubPath);
}

/**
* Create a new model.
*
Expand Down

0 comments on commit b5ee617

Please sign in to comment.