From a856b7c51bcdc22ff2418afbb551c5cdc6d3a304 Mon Sep 17 00:00:00 2001 From: yunwuxin <448901948@qq.com> Date: Mon, 8 Aug 2016 17:57:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- phinx/src/Phinx/Db/Adapter/PdoAdapter.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/phinx/src/Phinx/Db/Adapter/PdoAdapter.php b/phinx/src/Phinx/Db/Adapter/PdoAdapter.php index 72d9a8e..8bb8357 100644 --- a/phinx/src/Phinx/Db/Adapter/PdoAdapter.php +++ b/phinx/src/Phinx/Db/Adapter/PdoAdapter.php @@ -29,7 +29,6 @@ namespace Phinx\Db\Adapter; use think\console\Output; -use think\console\output\Nothing as NothingOutput; use Phinx\Db\Table; use Phinx\Db\Table\Column; use Phinx\Migration\MigrationInterface; @@ -140,7 +139,7 @@ public function setOutput(Output $output) public function getOutput() { if (null === $this->output) { - $output = new NothingOutput(); + $output = new Output('nothing'); $this->setOutput($output); } return $this->output;