Skip to content

Commit

Permalink
Fix reference to parseDsn method
Browse files Browse the repository at this point in the history
  • Loading branch information
josegonzalez committed Oct 12, 2014
1 parent 2bc9b3f commit 68e61e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Datasource/ConnectionManager.php
Expand Up @@ -61,16 +61,16 @@ class ConnectionManager {
public static function config($key, $config = null) {
if (is_array($config)) {
$config['name'] = $key;
$config = static::_parseDsn($config);
$config = static::parseDsn($config);
}

if (is_string($config)) {
$config = static::_parseDsn($config);
$config = static::parseDsn($config);
}

if ($config === null && is_array($key)) {
foreach ($key as $name => $settings) {
$key[$name] = static::_parseDsn($settings);
$key[$name] = static::parseDsn($settings);
}
}

Expand Down

0 comments on commit 68e61e1

Please sign in to comment.