@@ -100,12 +100,12 @@ discard block |
||
100 | 100 | || ( ( $user = \Illuminate\Support\Facades\Auth::user() ) !== null && $user->superuser ) |
101 | 101 | ) { |
102 | 102 | $helper = new \Aimeos\MW\View\Helper\Access\All( $view ); |
103 | - } |
|
104 | - else |
|
103 | + } else |
|
105 | 104 | { |
106 | 105 | $support = $this->support; |
107 | 106 | |
108 | - $fcn = function() use ( $support, $context ) { |
|
107 | + $fcn = function() use ( $support, $context ) |
|
108 | + { |
|
109 | 109 | return $support->getGroups( $context ); |
110 | 110 | }; |
111 | 111 | |
@@ -245,8 +245,7 @@ discard block |
||
245 | 245 | { |
246 | 246 | $i18n = $this->i18n->get( array( $locale ) ); |
247 | 247 | $translation = $i18n[$locale]; |
248 | - } |
|
249 | - else |
|
248 | + } else |
|
250 | 249 | { |
251 | 250 | $translation = new \Aimeos\MW\Translation\None( 'en' ); |
252 | 251 | } |