Passed
Push — master ( 029dd2...79f85d )
by Aimeos
04:39
created
src/Controller/ResolveController.php 1 patch
Braces   +8 added lines, -3 removed lines patch added patch discarded remove patch
@@ -67,10 +67,15 @@
 block discarded – undo
67 67
 
68 68
 		foreach( array_reverse( self::$fcn ) as $name => $fcn )
69 69
 		{
70
-			try {
70
+			try
71
+			{
71 72
 				return call_user_func_array( $fcn->bindTo( $this, static::class ), [$context, $path] );
72
-			} catch( \Exception $e ) {
73
-				if( $e->getCode() !== 404 ) throw $e;
73
+			}
74
+			catch( \Exception $e )
75
+			{
76
+				if( $e->getCode() !== 404 ) {
77
+					throw $e;
78
+				}
74 79
 			}
75 80
 		}
76 81
 
Please login to merge, or discard this patch.
src/Controller/JqadmController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -262,7 +262,7 @@
 block discarded – undo
262 262
 		$context->setI18n( app( 'aimeos.i18n' )->get( array( $lang, 'en' ) ) );
263 263
 		$context->setLocale( app( 'aimeos.locale' )->getBackend( $context, $site )->setLanguageId( $lang ) );
264 264
 
265
-		$siteManager = \Aimeos\MShop::create( $context, 'locale/site');
265
+		$siteManager = \Aimeos\MShop::create( $context, 'locale/site' );
266 266
 		$context->config()->apply( $siteManager->find( $site )->getConfig() );
267 267
 
268 268
 		$paths = $aimeos->getTemplatePaths( 'admin/jqadm/templates', $context->locale()->getSiteItem()->getTheme() );
Please login to merge, or discard this patch.