Code Duplication    Length = 4-4 lines in 2 locations

includes/classes/DBRow.php 2 locations

@@ 308-311 (lines=4) @@
305
      // - one field should translate to several properties;
306
      // - one property should be filled according to several fields;
307
      // - property filling requires some lookup in object values;
308
      if (!empty($property_data[P_METHOD_EXTRACT]) && is_callable(array($this, $property_data[P_METHOD_EXTRACT]))) {
309
        call_user_func_array(array($this, $property_data[P_METHOD_EXTRACT]), array(&$db_row));
310
        continue;
311
      }
312
313
      // If property is read-only - doing nothing
314
      if (!empty($property_data[P_READ_ONLY])) {
@@ 344-347 (lines=4) @@
341
    foreach (static::$_properties as $property_name => &$property_data) {
342
      // TODO - on isUpdate add only changed/adjusted properties
343
344
      if (!empty($property_data[P_METHOD_INJECT]) && is_callable(array($this, $property_data[P_METHOD_INJECT]))) {
345
        call_user_func_array(array($this, $property_data[P_METHOD_INJECT]), array(&$array));
346
        continue;
347
      }
348
349
      // Skipping properties which have no corresponding field in DB
350
      if (empty($property_data[P_DB_FIELD])) {