Code Duplication    Length = 7-7 lines in 4 locations

src/Phinx/Db/Adapter/MysqlAdapter.php 1 location

@@ 376-382 (lines=7) @@
373
    /**
374
     * @inheritDoc
375
     */
376
    protected function getDropTableInstructions($tableName)
377
    {
378
        $this->removeCreatedTable($tableName);
379
        $sql = sprintf('DROP TABLE %s', $this->quoteTableName($tableName));
380
381
        return new AlterInstructions([], [$sql]);
382
    }
383
384
    /**
385
     * {@inheritDoc}

src/Phinx/Db/Adapter/SqlServerAdapter.php 1 location

@@ 379-385 (lines=7) @@
376
    /**
377
     * @inheritDoc
378
     */
379
    protected function getDropTableInstructions($tableName)
380
    {
381
        $this->removeCreatedTable($tableName);
382
        $sql = sprintf('DROP TABLE %s', $this->quoteTableName($tableName));
383
384
        return new AlterInstructions([], [$sql]);
385
    }
386
387
    /**
388
     * {@inheritDoc}

src/Phinx/Db/Adapter/SQLiteAdapter.php 1 location

@@ 476-482 (lines=7) @@
473
    /**
474
     * @inheritDoc
475
     */
476
    protected function getDropTableInstructions($tableName)
477
    {
478
        $this->removeCreatedTable($tableName);
479
        $sql = sprintf('DROP TABLE %s', $this->quoteTableName($tableName));
480
481
        return new AlterInstructions([], [$sql]);
482
    }
483
484
    /**
485
     * {@inheritDoc}

src/Phinx/Db/Adapter/PostgresAdapter.php 1 location

@@ 360-366 (lines=7) @@
357
    /**
358
     * @inheritDoc
359
     */
360
    protected function getDropTableInstructions($tableName)
361
    {
362
        $this->removeCreatedTable($tableName);
363
        $sql = sprintf('DROP TABLE %s', $this->quoteTableName($tableName));
364
365
        return new AlterInstructions([], [$sql]);
366
    }
367
368
    /**
369
     * {@inheritDoc}