Passed
Push — master ( 3657f2...b17fdb )
by Andreas
24:28 queued 05:07
created
lib/midcom/helper/reflector/main.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -330,7 +330,7 @@  discard block
 block discarded – undo
330 330
 
331 331
         $label_prop = $this->get_label_property();
332 332
 
333
-        if (    $label_prop != 'guid'
333
+        if ($label_prop != 'guid'
334 334
              && $this->_mgd_reflector->property_exists($label_prop)) {
335 335
             $search_properties[$label_prop] = true;
336 336
         }
@@ -384,7 +384,7 @@  discard block
 block discarded – undo
384 384
                 continue;
385 385
             }
386 386
 
387
-            if (   !$ref->is_link($property)
387
+            if (!$ref->is_link($property)
388 388
                 && $ref->get_midgard_type($property) != MGD_TYPE_GUID) {
389 389
                 continue;
390 390
             }
@@ -426,7 +426,7 @@  discard block
 block discarded – undo
426 426
                 throw new midcom_error("config->get('class_extends') did not return array, invalid configuration ??");
427 427
             }
428 428
         }
429
-        if (   isset($extends[$schema_type])
429
+        if (isset($extends[$schema_type])
430 430
             && class_exists($extends[$schema_type])) {
431 431
             return $extends[$schema_type];
432 432
         }
@@ -500,7 +500,7 @@  discard block
 block discarded – undo
500 500
         $exceptions = $this->_config->get($type . '_exceptions');
501 501
         foreach ($exceptions as $class => $property) {
502 502
             if (midcom::get()->dbfactory->is_a($object, $class)) {
503
-                if (   $property !== false
503
+                if ($property !== false
504 504
                     && !$this->_mgd_reflector->property_exists($property)) {
505 505
                     debug_add("Matched class '{$key}' to '{$class}' via is_a but property '{$property}' does not exist", MIDCOM_LOG_ERROR);
506 506
                 } else {
Please login to merge, or discard this patch.