Code Duplication    Length = 9-9 lines in 2 locations

bridge/doctrine-orm/src/FieldMapper.php 1 location

@@ 58-66 (lines=9) @@
55
            return;
56
        }
57
58
        if ($type === Type\DoubleType::class) {
59
            $metadata->mapField([
60
                'fieldName' => $fieldName,
61
                'type' => 'float',
62
                'nullable' => true,
63
            ]);
64
65
            return;
66
        }
67
68
        if ($type === Type\CollectionType::class) {
69
            $this->mapCollectionType($fieldName, $field, $metadata);

bridge/doctrine-phpcr-odm/src/FieldMapper.php 1 location

@@ 87-95 (lines=9) @@
84
            return;
85
        }
86
87
        if ($type === Type\DoubleType::class) {
88
            $metadata->mapField([
89
                'fieldName' => $fieldName,
90
                'type' => 'double',
91
                'nullable' => true,
92
            ]);
93
94
            return;
95
        }
96
97
        if ($type === Type\DateTimeType::class) {
98
            $metadata->mapField([