mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-15 11:56:50 +00:00
minor #1958 Fxi typo (SpacePossum)
This PR was merged into the 1.x branch.
Discussion
----------
Fxi typo
https://github.com/twigphp/Twig/issues/1957
and
https://github.com/twigphp/Twig/issues/1956
Commits
-------
88ab45b Fix typo.
This commit is contained in:
@@ -578,7 +578,7 @@ class Twig_ExpressionParser
|
||||
|
||||
if ($function instanceof Twig_SimpleFunction && $function->isDeprecated()) {
|
||||
$message = sprintf('Twig Function "%s" is deprecated', $function->getName());
|
||||
if (!is_bool($functon->getDeprecatedVersion())) {
|
||||
if (!is_bool($function->getDeprecatedVersion())) {
|
||||
$message .= sprintf(' since version %s', $function->getDeprecatedVersion());
|
||||
}
|
||||
if ($function->getAlternative()) {
|
||||
|
||||
Reference in New Issue
Block a user