Code Duplication    Length = 7-7 lines in 4 locations

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

@@ 395-401 (lines=7) @@
392
    /**
393
     * @inheritDoc
394
     */
395
    protected function getDropTableInstructions($tableName)
396
    {
397
        $this->removeCreatedTable($tableName);
398
        $sql = sprintf('DROP TABLE %s', $this->quoteTableName($tableName));
399
400
        return new AlterInstructions([], [$sql]);
401
    }
402
403
    /**
404
     * {@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/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}

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

@@ 491-497 (lines=7) @@
488
    /**
489
     * @inheritDoc
490
     */
491
    protected function getDropTableInstructions($tableName)
492
    {
493
        $this->removeCreatedTable($tableName);
494
        $sql = sprintf('DROP TABLE %s', $this->quoteTableName($tableName));
495
496
        return new AlterInstructions([], [$sql]);
497
    }
498
499
    /**
500
     * {@inheritDoc}