From 7f2d2da52c476143cd270d9e73345ff26a841c7c Mon Sep 17 00:00:00 2001 From: davert Date: Wed, 31 Jul 2013 23:01:11 +0300 Subject: [PATCH] formatting fix --- framework/yii/helpers/SecurityBase.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/framework/yii/helpers/SecurityBase.php b/framework/yii/helpers/SecurityBase.php index ca7978d..05b2682 100644 --- a/framework/yii/helpers/SecurityBase.php +++ b/framework/yii/helpers/SecurityBase.php @@ -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);