@@ -95,8 +95,7 @@ discard block |
||
95 | 95 | || ( ( $user = \Illuminate\Support\Facades\Auth::user() ) !== null && $user->superuser ) |
96 | 96 | ) { |
97 | 97 | $helper = new \Aimeos\Base\View\Helper\Access\All( $view ); |
98 | - } |
|
99 | - else |
|
98 | + } else |
|
100 | 99 | { |
101 | 100 | $helper = new \Aimeos\Base\View\Helper\Access\Standard( $view, function() use ( $context ) { |
102 | 101 | $manager = \Aimeos\MShop::create( $context, 'group' ); |
@@ -158,8 +157,7 @@ discard block |
||
158 | 157 | { |
159 | 158 | $pattern = $config->get( 'client/html/common/format/pattern' ); |
160 | 159 | $helper = new \Aimeos\Base\View\Helper\Number\Locale( $view, $locale, $pattern ); |
161 | - } |
|
162 | - else |
|
160 | + } else |
|
163 | 161 | { |
164 | 162 | $sep1000 = $config->get( 'client/html/common/format/separator1000', '' ); |
165 | 163 | $decsep = $config->get( 'client/html/common/format/separatorDecimal', '.' ); |
@@ -245,8 +243,7 @@ discard block |
||
245 | 243 | { |
246 | 244 | $i18n = $this->i18n->get( array( $locale ) ); |
247 | 245 | $translation = $i18n[$locale]; |
248 | - } |
|
249 | - else |
|
246 | + } else |
|
250 | 247 | { |
251 | 248 | $translation = new \Aimeos\Base\Translation\None( 'en' ); |
252 | 249 | } |