File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 44
55use Illuminate \Database \Migrations \MigrationCreator as RealMigrationCreator ;
66use App \Commands \Helpers \PackageDetail ;
7+ use Illuminate \Filesystem \Filesystem ;
78
89class MigrationCreator extends RealMigrationCreator
910{
1011 use PackageDetail;
1112
13+ public function __construct (Filesystem $ files , $ customStubPath = __DIR__ .'/stubs ' )
14+ {
15+ parent ::__construct ($ files , $ customStubPath );
16+ }
17+
1218 /**
1319 * Get the full path to the migration.
1420 *
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ protected function rootNamespace()
4343
4444 public function devPath ()
4545 {
46- return (app ()->environment () === 'development ' ) ? '/package/ ' . $ this ->getPackageName () . '/ ' : '/ ' ;
46+ return (app ()->environment () === 'development ' ) ? '/package/ ' . $ this ->getPackageName () . '' : '/ ' ;
4747 }
4848
4949 public function getPath ($ name )
You can’t perform that action at this time.
0 commit comments