Passed
Push — master ( 4c729e...dfc165 )
by Aimeos
04:56
created
setup/MShopAddLocaleData.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -109,9 +109,13 @@
 block discarded – undo
109 109
 			$this->context()->setLocale( $localeManager->create()->setSiteId( $siteIds[$dataset['site']]['site'] ) );
110 110
 			$item = $localeManager->create()->fromArray( $dataset, true );
111 111
 
112
-			try {
112
+			try
113
+			{
113 114
 				$localeManager->save( $item );
114
-			} catch( \Aimeos\Base\DB\Exception $e ) { ; } // if locale combination was already available
115
+			}
116
+			catch( \Aimeos\Base\DB\Exception $e )
117
+			{
118
+; } // if locale combination was already available
115 119
 		}
116 120
 	}
117 121
 }
Please login to merge, or discard this patch.