@@ -6,7 +6,7 @@ |
||
| 6 | 6 | { |
| 7 | 7 | public function __construct($name, $type = 'accordion', $config = []) |
| 8 | 8 | { |
| 9 | - parent::__construct($name, $type, $config); |
|
| 9 | + parent::__construct($name, $type, $config); |
|
| 10 | 10 | } |
| 11 | 11 | |
| 12 | 12 | public function setOpen($value = 1) |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | return $this->getBuilder()->getField($value)->getKey(); |
| 35 | 35 | } |
| 36 | 36 | |
| 37 | - return $value; |
|
| 37 | + return $value; |
|
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | public function transformConfig($config) |
@@ -223,8 +223,7 @@ |
||
| 223 | 223 | } elseif ($modify instanceof \Closure) { |
| 224 | 224 | throw new \Exception('FieldsBuilder can\'t be modified with a closure.'); |
| 225 | 225 | } |
| 226 | - } |
|
| 227 | - else if (is_array($modify)) { |
|
| 226 | + } else if (is_array($modify)) { |
|
| 228 | 227 | $this->updateConfig($modify); |
| 229 | 228 | } elseif ($modify instanceof \Closure) { |
| 230 | 229 | throw new \Exception('FlexibleContentBuilder can\'t be modified with a closure.'); |