Code Duplication    Length = 3-3 lines in 2 locations

lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php 2 locations

@@ 1073-1075 (lines=3) @@
1070
            $cache['usage'] = self::CACHE_USAGE_READ_ONLY;
1071
        }
1072
1073
        if ( ! isset($cache['region'])) {
1074
            $cache['region'] = strtolower(str_replace('\\', '_', $this->rootEntityName));
1075
        }
1076
1077
        $this->cache = $cache;
1078
    }
@@ 1105-1107 (lines=3) @@
1102
                : self::CACHE_USAGE_READ_ONLY;
1103
        }
1104
1105
        if ( ! isset($cache['region'])) {
1106
            $cache['region'] = strtolower(str_replace('\\', '_', $this->rootEntityName)) . '__' . $fieldName;
1107
        }
1108
1109
        return $cache;
1110
    }