mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-20 11:19:16 +00:00
Code cleanup
This commit is contained in:
@@ -36,6 +36,7 @@ use phpseclib\Crypt\RSA;
|
||||
class InstallController extends Controller
|
||||
{
|
||||
/** @noinspection MagicMethodsValidityInspection */
|
||||
/** @noinspection PhpMissingParentConstructorInspection */
|
||||
/**
|
||||
* InstallController constructor.
|
||||
*/
|
||||
@@ -62,7 +63,7 @@ class InstallController extends Controller
|
||||
$rsa = new RSA();
|
||||
$keys = $rsa->createKey(4096);
|
||||
|
||||
list($publicKey, $privateKey) = [
|
||||
[$publicKey, $privateKey] = [
|
||||
Passport::keyPath('oauth-public.key'),
|
||||
Passport::keyPath('oauth-private.key'),
|
||||
];
|
||||
|
Reference in New Issue
Block a user