diff --git a/src/PhinxConfigBridge.php b/src/PhinxConfigBridge.php index a699f75..bb8c929 100644 --- a/src/PhinxConfigBridge.php +++ b/src/PhinxConfigBridge.php @@ -57,7 +57,7 @@ protected function loadConfig(App $app) ]; } else { $environments[$name] = [ - 'connection' => $db->connect($name)->getConnection()->connect(), + 'connection' => $db->connect($name)->connect(), 'name' => $connection['database'], 'table_prefix' => $connection['prefix'], ];