Removed trailing white spaces
authorJonathan Ingram <jonathan.b.ingram@gmail.com>
Mon, 5 Dec 2011 01:43:41 +0000 (12:43 +1100)
committerFabien Potencier <fabien.potencier@gmail.com>
Wed, 7 Dec 2011 07:58:57 +0000 (08:58 +0100)
lib/Twig/Node/Expression/Function.php

index b1fa858..e3f973f 100644 (file)
@@ -18,24 +18,24 @@ class Twig_Node_Expression_Function extends Twig_Node_Expression
     public function compile(Twig_Compiler $compiler)
     {
         $name = $this->getAttribute('name');
-        
+
         $function = $compiler->getEnvironment()->getFunction($name);
-        
+
         if (false === $function) {
             $alternativeFunctions = array();
-            
+
             foreach ($compiler->getEnvironment()->getFunctions() as $functionName => $function) {
                 if (false !== strpos($functionName, $name)) {
                     $alternativeFunctions[] = $functionName;
                 }
             }
-            
+
             $exceptionMessage = sprintf('The function "%s" does not exist', $name);
-           
+
             if (count($alternativeFunctions)) {
                 $exceptionMessage = sprintf('%s. Did you mean "%s"?', $exceptionMessage, implode('", "', $alternativeFunctions));
             }
-            
+
             throw new Twig_Error_Syntax($exceptionMessage, $this->getLine());
         }