Completed
Push — master ( 910995...d41f9d )
by Aimeos
02:36
created
lib/custom/src/MW/View/Helper/Jincluded/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,8 +39,7 @@
 block discarded – undo
39 39
 			foreach( $item as $entry ) {
40 40
 				$this->entry( $entry, $fields, $fcn );
41 41
 			}
42
-		}
43
-		else
42
+		} else
44 43
 		{
45 44
 			$this->entry( $item, $fields, $fcn );
46 45
 		}
Please login to merge, or discard this patch.
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.
client/jsonapi/templates/product/standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -103,8 +103,7 @@  discard block
 block discarded – undo
103 103
 }
104 104
 
105 105
 
106
-$entryFcn = function( \Aimeos\MShop\Product\Item\Iface $item ) use ( $fields, $target, $cntl, $action, $config )
107
-{
106
+$entryFcn = function( \Aimeos\MShop\Product\Item\Iface $item ) use ( $fields, $target, $cntl, $action, $config ) {
108 107
 	$id = $item->getId();
109 108
 	$attributes = $item->toArray();
110 109
 	$type = $item->getResourceType();
@@ -196,8 +195,7 @@  discard block
 block discarded – undo
196 195
 				foreach( $items as $item ) {
197 196
 					$data[] = $entryFcn( $item );
198 197
 				}
199
-			}
200
-			else
198
+			} else
201 199
 			{
202 200
 				$data = $entryFcn( $items );
203 201
 			}
Please login to merge, or discard this patch.
client/jsonapi/templates/service/standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -27,8 +27,7 @@  discard block
 block discarded – undo
27 27
 }
28 28
 
29 29
 
30
-$entryFcn = function( \Aimeos\MShop\Service\Item\Iface $item, array $prices, array $feConfig ) use ( $fields, $target, $cntl, $action, $config )
31
-{
30
+$entryFcn = function( \Aimeos\MShop\Service\Item\Iface $item, array $prices, array $feConfig ) use ( $fields, $target, $cntl, $action, $config ) {
32 31
 	$metadata = [];
33 32
 	$id = $item->getId();
34 33
 	$type = $item->getResourceType();
@@ -121,8 +120,7 @@  discard block
 block discarded – undo
121 120
 				foreach( $items as $item ) {
122 121
 					$data[] = $entryFcn( $item, $prices, $feConfig );
123 122
 				}
124
-			}
125
-			else
123
+			} else
126 124
 			{
127 125
 				$data = $entryFcn( $items, $prices, $feConfig );
128 126
 			}
Please login to merge, or discard this patch.
client/jsonapi/templates/attribute/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\Attribute\Item\Iface $item ) use ( $fields, $target, $cntl, $action, $config )
41
-{
40
+$entryFcn = function( \Aimeos\MShop\Attribute\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 );
@@ -129,8 +128,7 @@  discard block
 block discarded – undo
129 128
 				foreach( $items as $item ) {
130 129
 					$data[] = $entryFcn( $item );
131 130
 				}
132
-			}
133
-			else
131
+			} else
134 132
 			{
135 133
 				$data = $entryFcn( $items );
136 134
 			}
Please login to merge, or discard this patch.