@@ -83,7 +83,7 @@ |
||
83 | 83 | /** |
84 | 84 | * Build the final config array. Build any other builders that may exist |
85 | 85 | * in the config. |
86 | - * @return array final field config |
|
86 | + * @return string final field config |
|
87 | 87 | */ |
88 | 88 | public function build() |
89 | 89 | { |
@@ -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 |
@@ -21,7 +21,7 @@ |
||
21 | 21 | } |
22 | 22 | |
23 | 23 | /** |
24 | - * @return \StoutLogic\AcfBuilder\NamedBuilder |
|
24 | + * @return \StoutLogic\AcfBuilder\Builder |
|
25 | 25 | */ |
26 | 26 | public function getBuilder() |
27 | 27 | { |
@@ -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()); |
@@ -29,7 +29,7 @@ |
||
29 | 29 | */ |
30 | 30 | public function transform($config) |
31 | 31 | { |
32 | - array_walk_recursive($config, function (&$value, $key) { |
|
32 | + array_walk_recursive($config, function(&$value, $key) { |
|
33 | 33 | if (in_array($key, $this->getKeys())) { |
34 | 34 | $value = $this->transformValue($value); |
35 | 35 | } |