Passed
Push — master ( a031cc...50f5d7 )
by Aimeos
05:11 queued 01:02
created
src/Admin/JQAdm/Order/Standard.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -533,7 +533,7 @@
 block discarded – undo
533 533
 
534 534
 				foreach( $data['service'][$type][$serviceId] ?? [] as $entry )
535 535
 				{
536
-					if( !($value = $entry['order.service.attribute.value'] ?? '') ) {
536
+					if( !( $value = $entry['order.service.attribute.value'] ?? '' ) ) {
537 537
 						continue;
538 538
 					}
539 539
 
Please login to merge, or discard this patch.
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -566,9 +566,13 @@
 block discarded – undo
566 566
 
567 567
 		if( $item->getCustomerId() )
568 568
 		{
569
-			try {
569
+			try
570
+			{
570 571
 				$data += \Aimeos\MShop::create( $this->context(), 'customer' )->get( $item->getCustomerId() )->toArray();
571
-			} catch( \Exception $e ) {};
572
+			}
573
+			catch( \Exception $e )
574
+			{
575
+};
572 576
 		}
573 577
 
574 578
 
Please login to merge, or discard this patch.