Code Duplication    Length = 13-13 lines in 2 locations

Excluded/Database/Schemas/AbstractTable.php 2 locations

@@ 639-651 (lines=13) @@
636
     *
637
     * @return $this
638
     */
639
    protected function dropIndexes()
640
    {
641
        foreach ($this->comparator->droppedIndexes() as $index) {
642
            $this->logger()->debug('Dropping index [{statement}] from table {table}.', [
643
                'statement' => $index->sqlStatement(),
644
                'table'     => $this->getName(true),
645
            ]);
646
647
            $this->commander->dropIndex($this, $index);
648
        }
649
650
        return $this;
651
    }
652
653
    /**
654
     * Synchronise indexes.
@@ 693-705 (lines=13) @@
690
     *
691
     * @return $this
692
     */
693
    protected function dropForeigns()
694
    {
695
        foreach ($this->comparator->droppedForeigns() as $foreign) {
696
            $this->logger()->debug('Dropping foreign key [{statement}] from table {table}.', [
697
                'statement' => $foreign->sqlStatement(),
698
                'table'     => $this->getName(true),
699
            ]);
700
701
            $this->commander->dropForeign($this, $foreign);
702
        }
703
704
        return $this;
705
    }
706
707
    /**
708
     * Synchronise foreign keys.