Test Setup Failed
Push — master ( 103df2...3cb2e9 )
by
unknown
04:13
created
src/Oro/Bundle/MagentoBundle/Controller/CustomerController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -110,13 +110,13 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
         );
Please login to merge, or discard this patch.