Passed
Push — master ( 9e7ada...909f92 )
by Sergey
05:44
created
app/Models/Fieldsets.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
     {
25 25
 
26 26
 
27
-        if (! Filesystem::has($this->getDirLocation())) {
27
+        if (!Filesystem::has($this->getDirLocation())) {
28 28
             Filesystem::createDir($this->getDirLocation());
29 29
         }
30 30
 
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
      */
107 107
     public function rename(string $id, string $new_id) : bool
108 108
     {
109
-        if (! Filesystem::has($this->getFileLocation($new_id))) {
109
+        if (!Filesystem::has($this->getFileLocation($new_id))) {
110 110
             return rename($this->getFileLocation($id), $this->getFileLocation($new_id));
111 111
         }
112 112
 
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
     {
149 149
         $fieldset_file = $this->getFileLocation($id);
150 150
 
151
-        if (! Filesystem::has($fieldset_file)) {
151
+        if (!Filesystem::has($fieldset_file)) {
152 152
             return Filesystem::write($fieldset_file, flextype('yaml')->encode($data));
153 153
         }
154 154
 
Please login to merge, or discard this patch.
dependencies.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,14 +21,14 @@
 block discarded – undo
21 21
 /**
22 22
  * Add Form Model to Flextype container
23 23
  */
24
-flextype()->container()['form'] = static function () {
24
+flextype()->container()['form'] = static function() {
25 25
     return new Form();
26 26
 };
27 27
 
28 28
 /**
29 29
  * Add Fieldsets Model to Flextype container
30 30
  */
31
-flextype()->container()['fieldsets'] = static function () {
31
+flextype()->container()['fieldsets'] = static function() {
32 32
     return new Fieldsets();
33 33
 };
34 34
 
Please login to merge, or discard this patch.