修正
This commit is contained in:
parent
2384bbe03a
commit
a856b7c51b
|
@ -29,7 +29,6 @@
|
||||||
namespace Phinx\Db\Adapter;
|
namespace Phinx\Db\Adapter;
|
||||||
|
|
||||||
use think\console\Output;
|
use think\console\Output;
|
||||||
use think\console\output\Nothing as NothingOutput;
|
|
||||||
use Phinx\Db\Table;
|
use Phinx\Db\Table;
|
||||||
use Phinx\Db\Table\Column;
|
use Phinx\Db\Table\Column;
|
||||||
use Phinx\Migration\MigrationInterface;
|
use Phinx\Migration\MigrationInterface;
|
||||||
|
@ -140,7 +139,7 @@ abstract class PdoAdapter implements AdapterInterface
|
||||||
public function getOutput()
|
public function getOutput()
|
||||||
{
|
{
|
||||||
if (null === $this->output) {
|
if (null === $this->output) {
|
||||||
$output = new NothingOutput();
|
$output = new Output('nothing');
|
||||||
$this->setOutput($output);
|
$this->setOutput($output);
|
||||||
}
|
}
|
||||||
return $this->output;
|
return $this->output;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user