Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 1422-1424 (lines=3) @@
1419
            }
1420
1421
            // Check for composite key
1422
            if ( ! $this->isIdentifierComposite && count($this->identifier) > 1) {
1423
                $this->isIdentifierComposite = true;
1424
            }
1425
        }
1426
1427
        if (Type::hasType($mapping['type']) && Type::getType($mapping['type'])->canRequireSQLConversion()) {
@@ 1493-1495 (lines=3) @@
1490
            }
1491
1492
            // Check for composite key
1493
            if ( ! $this->isIdentifierComposite && count($this->identifier) > 1) {
1494
                $this->isIdentifierComposite = true;
1495
            }
1496
1497
            if ($this->cache && !isset($mapping['cache'])) {
1498
                throw CacheException::nonCacheableEntityAssociation($this->name, $mapping['fieldName']);