Completed
Push — refonte ( 107432...1242fa )
by Arnaud
12:35 queued 07:47
created
src/Configuration/ActionConfiguration.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
      */
165 165
     private function getFieldsNormalizer()
166 166
     {
167
-        return function (Options $options, $fields) {
167
+        return function(Options $options, $fields) {
168 168
             $normalizedFields = [];
169 169
 
170 170
             foreach ($fields as $name => $field) {
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
      */
188 188
     private function getOrderNormalizer()
189 189
     {
190
-        return function (Options $options, $order) {
190
+        return function(Options $options, $order) {
191 191
             foreach ($order as $field => $sort) {
192 192
 
193 193
                 if (!is_string($sort) || !is_string($field) || !in_array(strtolower($sort), ['asc', 'desc'])) {
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
      */
212 212
     private function getLoadStrategyNormalizer()
213 213
     {
214
-        return function (Options $options, $value) {
214
+        return function(Options $options, $value) {
215 215
             if (!$value) {
216 216
                 if ($this->actionName == 'create') {
217 217
                     $value = LAGAdminBundle::LOAD_STRATEGY_NONE;
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
      */
235 235
     private function getMenuNormalizer()
236 236
     {
237
-        return function (Options $options, $menus) {
237
+        return function(Options $options, $menus) {
238 238
             // set default to an array
239 239
             if ($menus === false) {
240 240
                 $menus = [];
@@ -252,7 +252,7 @@  discard block
 block discarded – undo
252 252
      */
253 253
     private function getCriteriaNormalizer()
254 254
     {
255
-        return function (Options $options, $value) {
255
+        return function(Options $options, $value) {
256 256
             if (!$value) {
257 257
                 $idActions = [
258 258
                     'edit',
@@ -301,7 +301,7 @@  discard block
 block discarded – undo
301 301
      */
302 302
     private function getFiltersNormalizer()
303 303
     {
304
-        return function (Options $options, $data) {
304
+        return function(Options $options, $data) {
305 305
             $normalizedData = [];
306 306
 
307 307
             foreach ($data as $name => $field) {
@@ -327,7 +327,7 @@  discard block
 block discarded – undo
327 327
 
328 328
     private function getRouteDefaultNormalizer()
329 329
     {
330
-        return function (Options $options, $value) {
330
+        return function(Options $options, $value) {
331 331
             if (!is_array($value)) {
332 332
                 $value = [];
333 333
             }
Please login to merge, or discard this patch.