Passed
Push — master ( 061b3a...c2be73 )
by Aimeos
04:39
created
src/Base/Context.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -309,9 +309,12 @@
 block discarded – undo
309 309
 		if( $userid = Auth::guard( $guard )->id() )
310 310
 		{
311 311
 			$context->setGroupIds( function() use ( $context, $userid ) {
312
-				try {
312
+				try
313
+				{
313 314
 					return \Aimeos\MShop::create( $context, 'customer' )->get( $userid, ['customer/group'] )->getGroups();
314
-				} catch( \Exception $e ) {
315
+				}
316
+				catch( \Exception $e )
317
+				{
315 318
 					return [];
316 319
 				}
317 320
 			} );
Please login to merge, or discard this patch.