Skip to content

Commit 9f94357

Browse files
committed
fix key name
1 parent d7d57e6 commit 9f94357

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/RenameCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function handle()
7272
private function renameKey()
7373
{
7474
try {
75-
list($file, $key) = explode('.', $this->argument('key'), 2);
75+
list($file, $key) = explode('.', $this->argument('oldKey'), 2);
7676
} catch (\ErrorException $e) {
7777
$this->error('Could not recognize the key you want to rename.');
7878

0 commit comments

Comments
 (0)