@@ -110,13 +110,13 @@ discard block |
||
110 | 110 | return $this->get('oro_magento.form.handler.customer')->handleUpdate( |
111 | 111 | $customer, |
112 | 112 | $this->createForm(CustomerType::class, $customer), |
113 | - function (Customer $customer) { |
|
113 | + function(Customer $customer) { |
|
114 | 114 | return [ |
115 | 115 | 'route' => 'oro_magento_customer_update', |
116 | 116 | 'parameters' => ['id' => $customer->getId()] |
117 | 117 | ]; |
118 | 118 | }, |
119 | - function (Customer $customer) { |
|
119 | + function(Customer $customer) { |
|
120 | 120 | return [ |
121 | 121 | 'route' => 'oro_magento_customer_view', |
122 | 122 | 'parameters' => ['id' => $customer->getId()] |
@@ -161,7 +161,7 @@ discard block |
||
161 | 161 | ->findBy(['account' => $account, 'dataChannel' => $channel]); |
162 | 162 | $customers = array_filter( |
163 | 163 | $customers, |
164 | - function ($item) { |
|
164 | + function($item) { |
|
165 | 165 | return $this->isGranted('VIEW', $item); |
166 | 166 | } |
167 | 167 | ); |