Code Duplication    Length = 9-9 lines in 2 locations

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

@@ 48-56 (lines=9) @@
45
            return;
46
        }
47
48
        if ($type === Type\BooleanType::class) {
49
            $metadata->mapField([
50
                'fieldName' => $fieldName,
51
                'type' => 'boolean',
52
                'nullable' => true,
53
            ]);
54
55
            return;
56
        }
57
58
        if ($type === Type\DoubleType::class) {
59
            $metadata->mapField([

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

@@ 77-85 (lines=9) @@
74
            return;
75
        }
76
77
        if ($type === Type\BooleanType::class) {
78
            $metadata->mapField([
79
                'fieldName' => $fieldName,
80
                'type' => 'boolean',
81
                'nullable' => true,
82
            ]);
83
84
            return;
85
        }
86
87
        if ($type === Type\DoubleType::class) {
88
            $metadata->mapField([