@@ -12,10 +12,10 @@ |
||
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 | } |