Passed
Push — master ( d72225...3daf06 )
by Sergey
20:39 queued 12s
created
app/Models/Form.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
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 = '';
Please login to merge, or discard this patch.
app/Models/Fieldsets.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,11 +30,11 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.