Completed
Branch develop (ab1b2a)
by Steve
07:43
created
src/FieldsBuilder.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Transform/NamespaceFieldKey.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/FlexibleContentBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
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());
Please login to merge, or discard this patch.
src/Transform/RecursiveTransform.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
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
             }
Please login to merge, or discard this patch.