Passed
Push — master ( 0d02d4...e75fe1 )
by Andreas
19:14
created
lib/midcom/helper/reflector/main.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -312,7 +312,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
         }
Please login to merge, or discard this patch.