Completed
Branch master (136162)
by Aimeos
06:57
created
src/Aimeos/Shop/Base/View.php 1 patch
Braces   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -100,12 +100,12 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 		}
Please login to merge, or discard this patch.