From a072877fd066993d5533d1aad9a5ede2982e593e Mon Sep 17 00:00:00 2001 From: yunwuxin <448901948@qq.com> Date: Wed, 6 Apr 2016 11:14:13 +0800 Subject: [PATCH] =?UTF-8?q?null=E4=B8=BAphp7=E5=85=B3=E9=94=AE=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- phinx/src/Phinx/Db/Adapter/PdoAdapter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phinx/src/Phinx/Db/Adapter/PdoAdapter.php b/phinx/src/Phinx/Db/Adapter/PdoAdapter.php index 23e3ca6..72d9a8e 100644 --- a/phinx/src/Phinx/Db/Adapter/PdoAdapter.php +++ b/phinx/src/Phinx/Db/Adapter/PdoAdapter.php @@ -29,7 +29,7 @@ namespace Phinx\Db\Adapter; use think\console\Output; -use think\console\output\Null as NullOutput; +use think\console\output\Nothing as NothingOutput; use Phinx\Db\Table; use Phinx\Db\Table\Column; use Phinx\Migration\MigrationInterface; @@ -140,7 +140,7 @@ abstract class PdoAdapter implements AdapterInterface public function getOutput() { if (null === $this->output) { - $output = new NullOutput(); + $output = new NothingOutput(); $this->setOutput($output); } return $this->output;