@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | 'flash' => [ |
72 | 72 | 'key' => 'auth', |
73 | 73 | 'element' => 'error', |
74 | - 'params' => ['class' => 'error'] |
|
74 | + 'params' => [ 'class' => 'error' ] |
|
75 | 75 | ], |
76 | 76 | 'loginAction' => [ |
77 | 77 | 'controller' => 'Users', |
@@ -83,16 +83,16 @@ discard block |
||
83 | 83 | 'controller' => 'Users', |
84 | 84 | 'plugin' => 'Community' |
85 | 85 | ], |
86 | - 'authorize' => ['Community.Base'], |
|
86 | + 'authorize' => [ 'Community.Base' ], |
|
87 | 87 | 'loginRedirect' => $this->_getLoginRedirect(), |
88 | - 'logoutRedirect' => $this->_config['loginAction'], |
|
88 | + 'logoutRedirect' => $this->_config[ 'loginAction' ], |
|
89 | 89 | 'authError' => __d('community', 'You are not authorized to access that location.') |
90 | 90 | ]; |
91 | 91 | |
92 | 92 | $config = $this->getConfig(); |
93 | 93 | foreach ($config as $key => $value) { |
94 | 94 | if ($value !== null) { |
95 | - unset($defaults[$key]); |
|
95 | + unset($defaults[ $key ]); |
|
96 | 96 | } |
97 | 97 | } |
98 | 98 |