@@ -59,7 +59,7 @@ |
||
59 | 59 | { |
60 | 60 | if (Arrays::has($values, $element)) { |
61 | 61 | $field_value = Arrays::get($values, $element); |
62 | - } elseif(Arrays::has($properties, 'default')) { |
|
62 | + } elseif (Arrays::has($properties, 'default')) { |
|
63 | 63 | $field_value = $properties['default']; |
64 | 64 | } else { |
65 | 65 | $field_value = ''; |
@@ -30,11 +30,11 @@ discard block |
||
30 | 30 | { |
31 | 31 | $this->flextype = $flextype; |
32 | 32 | |
33 | - if (! Filesystem::has($this->getDirLocation())) { |
|
33 | + if (!Filesystem::has($this->getDirLocation())) { |
|
34 | 34 | Filesystem::createDir($this->getDirLocation()); |
35 | 35 | } |
36 | 36 | |
37 | - if (! Filesystem::has($this->getFileLocation('default'))) { |
|
37 | + if (!Filesystem::has($this->getFileLocation('default'))) { |
|
38 | 38 | Filesystem::copy(PATH['project'] . '/plugins/form/fieldsets/samples/default/default.yaml', $this->getFileLocation('default')); |
39 | 39 | } |
40 | 40 | } |
@@ -152,7 +152,7 @@ discard block |
||
152 | 152 | { |
153 | 153 | $fieldset_file = $this->getFileLocation($id); |
154 | 154 | |
155 | - if (! Filesystem::has($fieldset_file)) { |
|
155 | + if (!Filesystem::has($fieldset_file)) { |
|
156 | 156 | return Filesystem::write($fieldset_file, $this->flextype['yaml']->encode($data)); |
157 | 157 | } |
158 | 158 |