From d34f712963e8511691db48071bb9ce455b5e555d Mon Sep 17 00:00:00 2001 From: odan Date: Fri, 31 May 2019 09:24:55 +0200 Subject: [PATCH] Fix phpstan issue --- src/Migration/Adapter/Generator/PhinxMySqlGenerator.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Migration/Adapter/Generator/PhinxMySqlGenerator.php b/src/Migration/Adapter/Generator/PhinxMySqlGenerator.php index 35cff3b0e..3384a40c0 100644 --- a/src/Migration/Adapter/Generator/PhinxMySqlGenerator.php +++ b/src/Migration/Adapter/Generator/PhinxMySqlGenerator.php @@ -72,7 +72,8 @@ public function __construct(SchemaAdapterInterface $dba, OutputInterface $output // Default migration table name 'default_migration_table' => 'phinxlog', ]; - $this->options = array_replace_recursive($default, $options); + + $this->options = array_replace_recursive($default, $options) ?: []; } /**