mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-16 06:17:56 +08:00
formatting fix
This commit is contained in:
@@ -120,10 +120,10 @@ class SecurityBase
|
||||
static $keys;
|
||||
$keyFile = Yii::$app->getRuntimePath() . '/keys.php';
|
||||
if ($keys === null) {
|
||||
$keys = array();
|
||||
$keys = array();
|
||||
if (is_file($keyFile)) {
|
||||
$keys = require($keyFile);
|
||||
}
|
||||
$keys = require($keyFile);
|
||||
}
|
||||
}
|
||||
if (!isset($keys[$name])) {
|
||||
$keys[$name] = static::generateRandomKey($length);
|
||||
|
||||
Reference in New Issue
Block a user