Skip to content

Commit d20a71c

Browse files
authored
Merge pull request #3 from wilbur-yu/master
修复生成key时, 无法根据实际配置进行key的生成
2 parents 18feae7 + 727a04f commit d20a71c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Command/GenKeyCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ public function handle()
5454
protected function generateRandomKey(string $driverName)
5555
{
5656
$config = $this->config->get("encryption.driver.{$driverName}");
57-
return call([$config['class'], 'generateKey'], [['options' => $config['options']]]);
57+
return call([$config['class'], 'generateKey'], [$config['options']]);
5858
}
5959
}

0 commit comments

Comments
 (0)