Fix deprecated twig function. Typo. PhpDoc.