Skip to content

Commit

Permalink
Merge pull request #1783 from Vots1000/patch-1
Browse files Browse the repository at this point in the history
Update new-system.md
  • Loading branch information
kpodemski committed Feb 25, 2024
2 parents 6b0e1af + 44c4ee7 commit 8ef1dbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/creation/module-translation/new-system.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ class SomeAdminController extends FrameworkBundleAdminController
{
public function someAction()
{
$this->text = $this->trans('Some text being translated', [], 'Modules.Mymodule.Admin');
$this->text = $this->trans('Some text being translated', 'Modules.Mymodule.Admin', []);
}
}
```
Expand Down

0 comments on commit 8ef1dbe

Please sign in to comment.