Skip to content

Commit

Permalink
Update TableRegistry::get() options merge strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
codeguy committed Jun 16, 2015
1 parent 839a2be commit 803b0b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ORM/TableRegistry.php
Expand Up @@ -184,7 +184,7 @@ public static function get($alias, array $options = [])
}

if (isset(static::$_config[$alias])) {
$options = array_merge($options, static::$_config[$alias]);
$options = static::$_config[$alias] + $options;
}
if (empty($options['connection'])) {
$connectionName = $options['className']::defaultConnectionName();
Expand Down

0 comments on commit 803b0b7

Please sign in to comment.