Skip to content

Commit

Permalink
Remove deprecated defaultLocale() call
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Hoffmann committed Jul 27, 2017
1 parent 02e4685 commit f0ebd6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ORM/Behavior/TranslateBehavior.php
Expand Up @@ -99,7 +99,7 @@ class TranslateBehavior extends Behavior implements PropertyMarshalInterface
public function __construct(Table $table, array $config = [])
{
$config += [
'defaultLocale' => I18n::defaultLocale(),
'defaultLocale' => I18n::getDefaultLocale(),
'referenceName' => $this->_referenceName($table)
];

Expand Down

0 comments on commit f0ebd6a

Please sign in to comment.