@@ -312,7 +312,7 @@ discard block |
||
312 | 312 | |
313 | 313 | $label_prop = $this->get_label_property(); |
314 | 314 | |
315 | - if ( $label_prop != 'guid' |
|
315 | + if ($label_prop != 'guid' |
|
316 | 316 | && $this->_mgd_reflector->property_exists($label_prop)) { |
317 | 317 | $search_properties[$label_prop] = true; |
318 | 318 | } |
@@ -365,7 +365,7 @@ discard block |
||
365 | 365 | continue; |
366 | 366 | } |
367 | 367 | |
368 | - if ( !$ref->is_link($property) |
|
368 | + if (!$ref->is_link($property) |
|
369 | 369 | && $ref->get_midgard_type($property) != MGD_TYPE_GUID) { |
370 | 370 | continue; |
371 | 371 | } |
@@ -399,7 +399,7 @@ discard block |
||
399 | 399 | protected static function class_rewrite(string $schema_type) : string |
400 | 400 | { |
401 | 401 | $extends = midcom_baseclasses_components_configuration::get('midcom.helper.reflector', 'config')->get_array('class_extends'); |
402 | - if ( isset($extends[$schema_type]) |
|
402 | + if (isset($extends[$schema_type]) |
|
403 | 403 | && class_exists($extends[$schema_type])) { |
404 | 404 | return $extends[$schema_type]; |
405 | 405 | } |