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 15
15
}
16
16
],
17
17
"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 " ,
20
20
"spatie/laravel-db-snapshots" : " ^2.0"
21
21
},
22
22
"require-dev" : {
Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ public function getDatabaseName() :?string
38
38
39
39
protected function getDatabaseCredentials (string $ name ) :string
40
40
{
41
-
42
41
if ($ this ->argument ('database ' )) {
43
42
return strtolower ($ this ->option ($ name ));
44
43
}
@@ -74,7 +73,6 @@ protected function SqliteFullPath(string $databaseName): string
74
73
}
75
74
76
75
77
-
78
76
protected function getPDO () :\PDO
79
77
{
80
78
try {
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ class CreateDatabase extends BaseCommand
30
30
protected $ description = 'Create database ' ;
31
31
32
32
33
-
34
33
/**
35
34
* Execute the console command.
36
35
*
@@ -44,8 +43,7 @@ public function handle()
44
43
}
45
44
46
45
47
-
48
- private function create ($ connection )
46
+ private function create ($ connection ): void
49
47
{
50
48
$ schemaName = $ this ->getDatabaseName ($ connection );
51
49
You can’t perform that action at this time.
0 commit comments