@@ -27,8 +27,7 @@ discard block |
||
27 | 27 | } |
28 | 28 | |
29 | 29 | |
30 | -$entryFcn = function( \Aimeos\MShop\Customer\Item\Iface $item ) use ( $fields, $target, $cntl, $action, $config ) |
|
31 | -{ |
|
30 | +$entryFcn = function( \Aimeos\MShop\Customer\Item\Iface $item ) use ( $fields, $target, $cntl, $action, $config ) { |
|
32 | 31 | $id = $item->getId(); |
33 | 32 | $type = $item->getResourceType(); |
34 | 33 | $params = array( 'resource' => $type, 'id' => $id ); |
@@ -91,8 +90,7 @@ discard block |
||
91 | 90 | }; |
92 | 91 | |
93 | 92 | |
94 | -$custAddrFcn = function( \Aimeos\MShop\Customer\Item\Address\Iface $item, array $entry ) use ( $target, $cntl, $action, $config ) |
|
95 | -{ |
|
93 | +$custAddrFcn = function( \Aimeos\MShop\Customer\Item\Address\Iface $item, array $entry ) use ( $target, $cntl, $action, $config ) { |
|
96 | 94 | $params = ['resource' => 'customer', 'id' => $item->getParentId(), 'related' => 'address', 'relatedid' => $item->getId()]; |
97 | 95 | $basketParams = ['resource' => 'basket', 'id' => 'default', 'related' => 'address', 'relatedid' => 'payment']; |
98 | 96 | |
@@ -111,8 +109,7 @@ discard block |
||
111 | 109 | }; |
112 | 110 | |
113 | 111 | |
114 | -$custPropFcn = function( \Aimeos\MShop\Common\Item\Property\Iface $item, array $entry ) use ( $target, $cntl, $action, $config ) |
|
115 | -{ |
|
112 | +$custPropFcn = function( \Aimeos\MShop\Common\Item\Property\Iface $item, array $entry ) use ( $target, $cntl, $action, $config ) { |
|
116 | 113 | $params = ['resource' => 'customer', 'id' => $item->getParentId(), 'related' => 'property', 'relatedid' => $item->getId()]; |
117 | 114 | |
118 | 115 | $entry['links'] = [ |