Completed
Branch develop (6833e5)
by Steve
04:32
created
src/RepeaterBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/FieldsBuilder.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
     /**
100 100
      * Build the final config array. Build any other builders that may exist
101 101
      * in the config.
102
-     * @return array Final field config
102
+     * @return string Final field config
103 103
      */
104 104
     public function build()
105 105
     {
@@ -549,7 +549,7 @@  discard block
 block discarded – undo
549 549
     }
550 550
 
551 551
     /**
552
-     * @return array
552
+     * @return NamedBuilder[]
553 553
      */
554 554
     public function getFields()
555 555
     {
Please login to merge, or discard this patch.
src/Transform/IterativeTransform.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -12,10 +12,10 @@
 block discarded – undo
12 12
      * Define a list of array keys `transform` should not be recursed upon.
13 13
      * @var array
14 14
      */
15
-   protected $dontRecurseKeys = ['fields', 'sub_fields', 'layouts'];
15
+    protected $dontRecurseKeys = ['fields', 'sub_fields', 'layouts'];
16 16
 
17
-   protected function shouldRecurse($value, $key)
18
-   {
19
-       return is_array($value) && !in_array($key, $this->dontRecurseKeys, true);
20
-   }
17
+    protected function shouldRecurse($value, $key)
18
+    {
19
+        return is_array($value) && !in_array($key, $this->dontRecurseKeys, true);
20
+    }
21 21
 }
Please login to merge, or discard this patch.