@@ -100,7 +100,7 @@ |
||
| 100 | 100 | */ |
| 101 | 101 | private function buildFields() |
| 102 | 102 | { |
| 103 | - $fields = array_map(function ($field) { |
|
| 103 | + $fields = array_map(function($field) { |
|
| 104 | 104 | return ($field instanceof Builder) ? $field->build() : $field; |
| 105 | 105 | }, $this->getFields()); |
| 106 | 106 | |
@@ -64,7 +64,7 @@ |
||
| 64 | 64 | */ |
| 65 | 65 | private function buildLayouts() |
| 66 | 66 | { |
| 67 | - return array_map(function ($layout) { |
|
| 67 | + return array_map(function($layout) { |
|
| 68 | 68 | $layout = ($layout instanceof Builder) ? $layout->build() : $layout; |
| 69 | 69 | return $this->transformLayout($layout); |
| 70 | 70 | }, $this->getLayouts()); |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | */ |
| 32 | 32 | public function transform($config) |
| 33 | 33 | { |
| 34 | - array_walk($config, function (&$value, $key) { |
|
| 34 | + array_walk($config, function(&$value, $key) { |
|
| 35 | 35 | if (in_array($key, $this->getKeys(), true)) { |
| 36 | 36 | $value = $this->transformValue($value); |
| 37 | 37 | } else { |
@@ -73,7 +73,7 @@ |
||
| 73 | 73 | if (array_key_exists('collapsed', $config)) { |
| 74 | 74 | $fieldKey = $this->fieldsBuilder->getField($config['collapsed'])->getKey(); |
| 75 | 75 | $fieldKey = preg_replace('/^field_/', '', $fieldKey); |
| 76 | - $config['collapsed'] = $this->getName() . '_' . $fieldKey; |
|
| 76 | + $config['collapsed'] = $this->getName().'_'.$fieldKey; |
|
| 77 | 77 | } |
| 78 | 78 | return $config; |
| 79 | 79 | } |