Completed
Push — master ( ac3c49...e09568 )
by Aimeos
02:38
created
controller/frontend/src/Controller/Frontend/Basket/Base.php 1 patch
Braces   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -225,8 +225,7 @@  discard block
 block discarded – undo
225 225
 			{
226 226
 				$this->setAddress( $type, $item->toArray() );
227 227
 				$basket->deleteAddress( $type );
228
-			}
229
-			catch( \Exception $e )
228
+			} catch( \Exception $e )
230 229
 			{
231 230
 				$logger = $this->getContext()->getLogger();
232 231
 				$str = 'Error migrating address with type "%1$s" in basket to locale "%2$s": %3$s';
@@ -255,8 +254,7 @@  discard block
 block discarded – undo
255 254
 			{
256 255
 				$this->addCoupon( $code );
257 256
 				$basket->deleteCoupon( $code, true );
258
-			}
259
-			catch( \Exception $e )
257
+			} catch( \Exception $e )
260 258
 			{
261 259
 				$logger = $this->getContext()->getLogger();
262 260
 				$str = 'Error migrating coupon with code "%1$s" in basket to locale "%2$s": %3$s';
@@ -305,8 +303,7 @@  discard block
 block discarded – undo
305 303
 				);
306 304
 
307 305
 				$basket->deleteProduct( $pos );
308
-			}
309
-			catch( \Exception $e )
306
+			} catch( \Exception $e )
310 307
 			{
311 308
 				$code = $product->getProductCode();
312 309
 				$logger = $this->getContext()->getLogger();
@@ -344,8 +341,7 @@  discard block
 block discarded – undo
344 341
 
345 342
 					$this->addService( $type, $item->getServiceId(), $attributes );
346 343
 					$basket->deleteService( $type );
347
-				}
348
-				catch( \Exception $e ) { ; } // Don't notify the user as appropriate services can be added automatically
344
+				} catch( \Exception $e ) { ; } // Don't notify the user as appropriate services can be added automatically
349 345
 			}
350 346
 		}
351 347
 
Please login to merge, or discard this patch.