File tree Expand file tree Collapse file tree 3 files changed +3
-7
lines changed
src/Console/Commands/Database Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 1515 }
1616 ],
1717 "require" : {
18- "php" : " ^8.0" ,
19- "illuminate/support" : " ^7.0|^8.0" ,
18+ "php" : " ^7.2|^ 8.0.2 " ,
19+ "illuminate/support" : " ^7.0|^8.0|^9.0 " ,
2020 "spatie/laravel-db-snapshots" : " ^2.0"
2121 },
2222 "require-dev" : {
Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ public function getDatabaseName() :?string
3838
3939 protected function getDatabaseCredentials (string $ name ) :string
4040 {
41-
4241 if ($ this ->argument ('database ' )) {
4342 return strtolower ($ this ->option ($ name ));
4443 }
@@ -74,7 +73,6 @@ protected function SqliteFullPath(string $databaseName): string
7473 }
7574
7675
77-
7876 protected function getPDO () :\PDO
7977 {
8078 try {
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ class CreateDatabase extends BaseCommand
3030 protected $ description = 'Create database ' ;
3131
3232
33-
3433 /**
3534 * Execute the console command.
3635 *
@@ -44,8 +43,7 @@ public function handle()
4443 }
4544
4645
47-
48- private function create ($ connection )
46+ private function create ($ connection ): void
4947 {
5048 $ schemaName = $ this ->getDatabaseName ($ connection );
5149
You can’t perform that action at this time.
0 commit comments