Skip to content

Commit

Permalink
fix(typo): fix typo for Translator mustache helper
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelAlphonso committed May 31, 2022
1 parent b9d31c1 commit dc7d20a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ protected function registerMustacheHelpersServices(Container $container): void
*/
$container['view/mustache/helpers/translator'] = function (Container $container): TranslatorHelpers {
return new TranslatorHelpers([
'translator' => (isset($container['translater']) ? $container['translator'] : null)
'translator' => (isset($container['translator']) ? $container['translator'] : null)
]);
};

Expand Down

0 comments on commit dc7d20a

Please sign in to comment.