@@ -57,7 +57,7 @@ discard block |
||
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 |
||
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 |
||
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 | } |