Passed
Push — master ( bcc204...64e7d7 )
by Aimeos
04:52
created
src/MShop/Order/Manager/Standard.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -364,9 +364,13 @@
 block discarded – undo
364 364
 
365 365
 		if( empty( $item->getInvoiceNumber() ) && $item->getStatusPayment() >= \Aimeos\MShop\Order\Item\Base::PAY_PENDING )
366 366
 		{
367
-			try {
367
+			try
368
+			{
368 369
 				$item->setInvoiceNumber( $this->createInvoiceNumber( $item ) );
369
-			} catch( \Exception $e ) { // redo on transaction deadlock
370
+			}
371
+			catch( \Exception $e )
372
+			{
373
+// redo on transaction deadlock
370 374
 				$item->setInvoiceNumber( $this->createInvoiceNumber( $item ) );
371 375
 			}
372 376
 		}
Please login to merge, or discard this patch.