Code Duplication    Length = 5-6 lines in 2 locations

lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php 1 location

@@ 3142-3146 (lines=5) @@
3139
            // Association defined as Id field
3140
            $joinColumns            = $this->associationMappings[$idProperty]['joinColumns'];
3141
            $assocQuotedColumnNames = array_map(
3142
                function ($joinColumn) use ($platform) {
3143
                    return isset($joinColumn['quoted'])
3144
                        ? $platform->quoteIdentifier($joinColumn['name'])
3145
                        : $joinColumn['name'];
3146
                },
3147
                $joinColumns
3148
            );
3149

lib/Doctrine/ORM/Mapping/DefaultQuoteStrategy.php 1 location

@@ 133-138 (lines=6) @@
130
            // Association defined as Id field
131
            $joinColumns            = $class->associationMappings[$fieldName]['joinColumns'];
132
            $assocQuotedColumnNames = array_map(
133
                function ($joinColumn) use ($platform)
134
                {
135
                    return isset($joinColumn['quoted'])
136
                        ? $platform->quoteIdentifier($joinColumn['name'])
137
                        : $joinColumn['name'];
138
                },
139
                $joinColumns
140
            );
141