Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help the developer when they specify an invalid function by providing so... #550

Closed
wants to merge 2 commits into from

Conversation

jonathaningram
Copy link
Contributor

...me alternatives.

Bug fix: no
Feature addition: yes
Backwards compatibility break: no

See #549.

@@ -17,9 +17,26 @@ public function __construct($name, Twig_NodeInterface $arguments, $lineno)

public function compile(Twig_Compiler $compiler)
{
$function = $compiler->getEnvironment()->getFunction($this->getAttribute('name'));
$name = $this->getAttribute('name');

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove the trailing whitespaces

@fabpot fabpot closed this Dec 7, 2011
@fabpot
Copy link
Contributor

fabpot commented Dec 7, 2011

merged and enhanced: 08bda72

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants