Code Duplication    Length = 10-10 lines in 3 locations

lib/Doctrine/DBAL/Schema/DB2SchemaManager.php 1 location

@@ 146-155 (lines=10) @@
143
    /**
144
     * {@inheritdoc}
145
     */
146
    protected function _getPortableTableForeignKeyDefinition($tableForeignKey)
147
    {
148
        return new ForeignKeyConstraint(
149
            $tableForeignKey['local_columns'],
150
            $tableForeignKey['foreign_table'],
151
            $tableForeignKey['foreign_columns'],
152
            $tableForeignKey['name'],
153
            $tableForeignKey['options']
154
        );
155
    }
156
157
    /**
158
     * {@inheritdoc}

lib/Doctrine/DBAL/Schema/SQLServerSchemaManager.php 1 location

@@ 185-194 (lines=10) @@
182
    /**
183
     * {@inheritdoc}
184
     */
185
    protected function _getPortableTableForeignKeyDefinition($tableForeignKey)
186
    {
187
        return new ForeignKeyConstraint(
188
            $tableForeignKey['local_columns'],
189
            $tableForeignKey['foreign_table'],
190
            $tableForeignKey['foreign_columns'],
191
            $tableForeignKey['name'],
192
            $tableForeignKey['options']
193
        );
194
    }
195
196
    /**
197
     * {@inheritdoc}

lib/Doctrine/DBAL/Schema/SQLAnywhereSchemaManager.php 1 location

@@ 165-174 (lines=10) @@
162
    /**
163
     * {@inheritdoc}
164
     */
165
    protected function _getPortableTableForeignKeyDefinition($tableForeignKey)
166
    {
167
        return new ForeignKeyConstraint(
168
            $tableForeignKey['local_columns'],
169
            $tableForeignKey['foreign_table'],
170
            $tableForeignKey['foreign_columns'],
171
            $tableForeignKey['name'],
172
            $tableForeignKey['options']
173
        );
174
    }
175
176
    /**
177
     * {@inheritdoc}