Skip to content

Commit

Permalink
fix coding standard
Browse files Browse the repository at this point in the history
  • Loading branch information
accgit committed Feb 4, 2020
1 parent 68bfdc8 commit 0edca7d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/Drago/Localization/DI/TranslatorExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public function __construct(string $translateDir)
public function loadConfiguration(): void
{
$builder = $this->getContainerBuilder();

$builder->addDefinition($this->prefix('translator'))
->setFactory(Translator::class, [$this->translateDir]);
}
Expand Down
1 change: 0 additions & 1 deletion tests/Translator/DI/TranslatorExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ public function test03(): void
$presenter->translator = $class;

Assert::type($presenter->getTranslator(), $class);

}


Expand Down

0 comments on commit 0edca7d

Please sign in to comment.