Passed
Push — master ( 8b33fb...6d6561 )
by Aimeos
07:55
created
src/MShop/Attribute/Manager/Standard.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -635,5 +635,5 @@
 block discarded – undo
635 635
 	 * @see mshop/attribute/manager/newid/ansi
636 636
 	 * @see mshop/attribute/manager/delete/ansi
637 637
 	 * @see mshop/attribute/manager/search/ansi
638
- */
638
+	 */
639 639
 }
Please login to merge, or discard this patch.
src/MShop/Order/Manager/Standard.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -612,9 +612,13 @@
 block discarded – undo
612 612
 	{
613 613
 		if( empty( $item->getInvoiceNumber() ) && $item->getStatusPayment() >= \Aimeos\MShop\Order\Item\Base::PAY_PENDING )
614 614
 		{
615
-			try {
615
+			try
616
+			{
616 617
 				$item->setInvoiceNumber( $this->createInvoiceNumber( $item ) );
617
-			} catch( \Exception $e ) { // redo on transaction deadlock
618
+			}
619
+			catch( \Exception $e )
620
+			{
621
+// redo on transaction deadlock
618 622
 				$item->setInvoiceNumber( $this->createInvoiceNumber( $item ) );
619 623
 			}
620 624
 		}
Please login to merge, or discard this patch.