Passed
Push — master ( d11647...9e7ada )
by Sergey
11:20 queued 10s
created
app/Models/Fieldsets.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     {
30 30
         $this->flextype = $flextype;
31 31
 
32
-        if (! Filesystem::has($this->getDirLocation())) {
32
+        if (!Filesystem::has($this->getDirLocation())) {
33 33
             Filesystem::createDir($this->getDirLocation());
34 34
         }
35 35
 
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
      */
112 112
     public function rename(string $id, string $new_id) : bool
113 113
     {
114
-        if (! Filesystem::has($this->getFileLocation($new_id))) {
114
+        if (!Filesystem::has($this->getFileLocation($new_id))) {
115 115
             return rename($this->getFileLocation($id), $this->getFileLocation($new_id));
116 116
         }
117 117
 
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
     {
154 154
         $fieldset_file = $this->getFileLocation($id);
155 155
 
156
-        if (! Filesystem::has($fieldset_file)) {
156
+        if (!Filesystem::has($fieldset_file)) {
157 157
             return Filesystem::write($fieldset_file, $this->flextype->container('yaml')->encode($data));
158 158
         }
159 159
 
Please login to merge, or discard this patch.
app/Models/Form.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     /**
23 23
      * Flextype Application
24 24
      */
25
-     protected $flextype;
25
+        protected $flextype;
26 26
 
27 27
     /**
28 28
      * __construct
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 () use ($flextype) {
24
+$flextype->container()['form'] = static function() use ($flextype) {
25 25
     return new Form($flextype);
26 26
 };
27 27
 
28 28
 /**
29 29
  * Add Fieldsets Model to Flextype container
30 30
  */
31
-$flextype->container()['fieldsets'] = static function () use ($flextype) {
31
+$flextype->container()['fieldsets'] = static function() use ($flextype) {
32 32
     return new Fieldsets($flextype);
33 33
 };
34 34
 
Please login to merge, or discard this patch.