Passed
Push — master ( 8e0254...5f7ecb )
by Andreas
09:32
created
src/midcom/datamanager/datamanager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
 
58 58
     public function set_storage(midcom_core_dbaobject $storage = null, string $schemaname = null) : self
59 59
     {
60
-        if (   $schemaname === null
60
+        if ($schemaname === null
61 61
             && !empty($storage->id)) {
62 62
             $schemaname = $storage->get_parameter('midcom.helper.datamanager2', 'schema_name');
63 63
         }
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
             $this->form = null;
148 148
         }
149 149
 
150
-        if (   $this->form === null
150
+        if ($this->form === null
151 151
             || ($name && $this->form->getName() != $name)) {
152 152
             $this->build_form($this->get_builder($name));
153 153
         }
@@ -235,7 +235,7 @@  discard block
 block discarded – undo
235 235
     {
236 236
         $ret = true;
237 237
         foreach ($this->storage as $field) {
238
-            if (   $field instanceof recreateable
238
+            if ($field instanceof recreateable
239 239
                 && !$field->recreate()) {
240 240
                 $ret = false;
241 241
             }
Please login to merge, or discard this patch.