Completed
Push — master ( 910995...d41f9d )
by Aimeos
02:36
created
client/jsonapi/templates/supplier/standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -37,8 +37,7 @@  discard block
 block discarded – undo
37 37
 }
38 38
 
39 39
 
40
-$entryFcn = function( \Aimeos\MShop\Supplier\Item\Iface $item ) use ( $fields, $target, $cntl, $action, $config )
41
-{
40
+$entryFcn = function( \Aimeos\MShop\Supplier\Item\Iface $item ) use ( $fields, $target, $cntl, $action, $config ) {
42 41
 	$id = $item->getId();
43 42
 	$type = $item->getResourceType();
44 43
 	$params = array( 'resource' => $type, 'id' => $id );
@@ -130,8 +129,7 @@  discard block
 block discarded – undo
130 129
 				foreach( $items as $item ) {
131 130
 					$data[] = $entryFcn( $item );
132 131
 				}
133
-			}
134
-			else
132
+			} else
135 133
 			{
136 134
 				$data = $entryFcn( $items );
137 135
 			}
Please login to merge, or discard this patch.