@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | if (array_key_exists('collapsed', $config)) { |
41 | 41 | $fieldKey = $this->fieldsBuilder->getField($config['collapsed'])->getKey(); |
42 | 42 | $fieldKey = preg_replace('/^field_/', '', $fieldKey); |
43 | - $config['collapsed'] = $this->getName() . '_' . $fieldKey; |
|
43 | + $config['collapsed'] = $this->getName().'_'.$fieldKey; |
|
44 | 44 | } |
45 | 45 | return $config; |
46 | 46 | } |
@@ -68,6 +68,6 @@ discard block |
||
68 | 68 | */ |
69 | 69 | private function getDefaultButtonLabel() |
70 | 70 | { |
71 | - return 'Add ' . Inflector::singularize($this->getLabel()); |
|
71 | + return 'Add '.Inflector::singularize($this->getLabel()); |
|
72 | 72 | } |
73 | 73 | } |
@@ -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) |