Skip to content

Commit

Permalink
Fix phpstan issue
Browse files Browse the repository at this point in the history
  • Loading branch information
odan committed May 31, 2019
1 parent cb1ad56 commit d34f712
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Migration/Adapter/Generator/PhinxMySqlGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) ?: [];
}

/**
Expand Down

0 comments on commit d34f712

Please sign in to comment.