Skip to content

Commit 6191651

Browse files
committed
typo corrections
1 parent 5abe51d commit 6191651

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

config/dbsync.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
/**
4646
* Sets if the exported SQL file will be imported into the current database connection
4747
*/
48-
'ImportSqlFile' => env('REMOTE_IMPORT_FILE', 'true'),
48+
'importSqlFile' => env('REMOTE_IMPORT_FILE', 'true'),
4949

5050
/**
5151
* Sets if the generated file.sql will be deleted after it has been imported.

src/Console/DbSyncCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ public function handle(): bool
2929
$password = config('dbsync.password');
3030
$ignore = config('dbsync.ignore');
3131
$ignoreTables = explode(',', $ignore);
32-
$ImportSqlFile = config('dbdync.ImportSqlFile');
33-
$removeFileAfterImport = config('dbdync.removeFileAfterImport');
32+
$importSqlFile = config('dbsync.importSqlFile');
33+
$removeFileAfterImport = config('dbsync.removeFileAfterImport');
3434

3535
if (empty($host) || empty($username) || empty($database)) {
3636
$this->error("DB credentials not set, have you published the config and set ENV variables?");
@@ -52,7 +52,7 @@ public function handle(): bool
5252

5353
$this->comment(implode(PHP_EOL, $output));
5454

55-
if ($ImportSqlFile === true) {
55+
if ($importSqlFile === true) {
5656
DB::unprepared(file_get_contents(base_path('file.sql')));
5757
}
5858

0 commit comments

Comments
 (0)