Code cleanup

This commit is contained in:
James Cole
2018-04-02 15:10:40 +02:00
parent fa7ab45a40
commit a3c34e6b3c
151 changed files with 802 additions and 990 deletions

View File

@@ -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'),
];