@@ -10,8 +10,8 @@ discard block |
||
10 | 10 | 'enableAutoLogin' => false, |
11 | 11 | 'autoRenewCookie' => false, |
12 | 12 | 'enableSession' => false, |
13 | - 'identityCookie' => Craft::cookieConfig(['name' => $stateKeyPrefix.'_identity']), |
|
14 | - 'usernameCookie' => Craft::cookieConfig(['name' => $stateKeyPrefix.'_username']), |
|
13 | + 'identityCookie' => Craft::cookieConfig([ 'name' => $stateKeyPrefix.'_identity' ]), |
|
14 | + 'usernameCookie' => Craft::cookieConfig([ 'name' => $stateKeyPrefix.'_username' ]), |
|
15 | 15 | 'loginUrl' => null, |
16 | 16 | 'idParam' => $stateKeyPrefix.'__id', |
17 | 17 | 'authTimeoutParam' => $stateKeyPrefix.'__expire', |
@@ -49,15 +49,15 @@ discard block |
||
49 | 49 | 'dirMode' => $generalConfig->defaultDirMode, |
50 | 50 | 'includeUserIp' => $generalConfig->storeUserIps, |
51 | 51 | 'except' => [ |
52 | - yii\i18n\PhpMessageSource::class . ':*', |
|
52 | + yii\i18n\PhpMessageSource::class.':*', |
|
53 | 53 | ], |
54 | 54 | ]; |
55 | 55 | |
56 | - $target['logFile'] = '@storage/logs/rest.log'; |
|
56 | + $target[ 'logFile' ] = '@storage/logs/rest.log'; |
|
57 | 57 | |
58 | 58 | // Only log errors and warnings, unless Craft is running in Dev Mode or it's being installed/updated |
59 | 59 | if (!YII_DEBUG) { |
60 | - $target['levels'] = yii\log\Logger::LEVEL_ERROR | yii\log\Logger::LEVEL_WARNING; |
|
60 | + $target[ 'levels' ] = yii\log\Logger::LEVEL_ERROR | yii\log\Logger::LEVEL_WARNING; |
|
61 | 61 | } |
62 | 62 | |
63 | 63 | return Craft::createObject([ |
@@ -78,5 +78,5 @@ discard block |
||
78 | 78 | 'modules' => [ |
79 | 79 | 'debug' => null |
80 | 80 | ], |
81 | - 'bootstrap' => [] |
|
81 | + 'bootstrap' => [ ] |
|
82 | 82 | ]; |
83 | 83 | \ No newline at end of file |