Code Duplication    Length = 10-10 lines in 2 locations

src/Phinx/Db/Plan/Plan.php 2 locations

@@ 128-137 (lines=10) @@
125
     *
126
     * @return AlterTable[][]
127
     */
128
    protected function updatesSequence()
129
    {
130
        return [
131
            $this->tableUpdates,
132
            $this->constraints,
133
            $this->indexes,
134
            $this->columnRemoves,
135
            $this->tableMoves,
136
        ];
137
    }
138
139
    /**
140
     * Returns a nested list of all the steps to execute for a rollback plan
@@ 142-151 (lines=10) @@
139
    /**
140
     * Returns a nested list of all the steps to execute for a rollback plan
141
     */
142
    protected function inverseUpdatesSequence()
143
    {
144
        return [
145
            $this->tableMoves,
146
            $this->constraints,
147
            $this->indexes,
148
            $this->columnRemoves,
149
            $this->tableUpdates
150
        ];
151
    }
152
153
    /**
154
     * Executes this plan using the given AdapterInterface