Skip to content

Commit f2ce3d4

Browse files
committed
Fix styleci
1 parent d9375e3 commit f2ce3d4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Jenssegers/Mongodb/Connection.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,7 @@ public function getDatabaseName()
127127
*/
128128
protected function getDefaultDatabaseName($dsn, $config)
129129
{
130-
if(empty($config['database'])){
131-
130+
if (empty($config['database'])) {
132131
if (preg_match('/^mongodb:\\/\\/.+\\/([^?&]+)/s', $dsn, $matches)) {
133132
$config['database'] = $matches[1];
134133
} else {

0 commit comments

Comments
 (0)