diff --git a/src/Connection.php b/src/Connection.php index 193ea93..ffad17c 100644 --- a/src/Connection.php +++ b/src/Connection.php @@ -17,7 +17,7 @@ public function connect() $params['port'] = isset($databaseUrl['port']) ? $databaseUrl['port'] : null; $params['database'] = isset($databaseUrl['path']) ? ltrim($databaseUrl['path'], '/') : null; $params['user'] = isset($databaseUrl['user']) ? $databaseUrl['user'] : null; - $params['passw'] = isset($databaseUrl['pass']) ? $databaseUrl['pass'] : null; + $params['password'] = isset($databaseUrl['pass']) ? $databaseUrl['pass'] : null; } else { $params = parse_ini_file('database.ini'); }