Skip to content

Commit

Permalink
Added extra parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
robertpustulka committed Jun 17, 2015
1 parent 6cfbf23 commit f8cb980
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ORM/Behavior/Translate/TranslateTrait.php
Expand Up @@ -49,7 +49,7 @@ public function translation($language)
if ($created || empty($i18n[$language]) || !($i18n[$language] instanceof EntityInterface)) {
$className = get_class($this);

$i18n[$language] = new $className;
$i18n[$language] = new $className();
$created = true;
}

Expand Down

0 comments on commit f8cb980

Please sign in to comment.