Passed
Push — master ( 639bd4...f5c8ee )
by Sergey
08:03 queued 10s
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('serializers')->yaml()->encode($data));
153 153
         }
154 154
 
Please login to merge, or discard this patch.