diff --git a/src/TwigExtension.php b/src/TwigExtension.php index 726a3bc..e57346e 100644 --- a/src/TwigExtension.php +++ b/src/TwigExtension.php @@ -1333,13 +1333,13 @@ class TwigExtension extends AbstractExtension { } /** - * Returns the tranlation for the given entity. + * Returns the translation for the given entity. * * @param object $entity * The entity to get the translation from. * * @param string $langcode - * (optional) For which language the trnaslation should be looked for, + * (optional) For which language the translation should be looked for, * defaults to the current language context. * * @return EntityInterface