Removed trailing white spaces
authorJonathan Ingram <jonathan.b.ingram@gmail.com>
Mon, 5 Dec 2011 01:45:22 +0000 (12:45 +1100)
committerJonathan Ingram <jonathan.b.ingram@gmail.com>
Mon, 5 Dec 2011 01:45:22 +0000 (12:45 +1100)
lib/Twig/Node/Expression/Filter.php

index 7f3cc5b..0056240 100644 (file)
@@ -19,22 +19,22 @@ class Twig_Node_Expression_Filter extends Twig_Node_Expression
     public function compile(Twig_Compiler $compiler)
     {
         $name = $this->getNode('filter')->getAttribute('value');
-        
+
         if (false === $filter = $compiler->getEnvironment()->getFilter($name)) {
             $alternativeFilters = array();
-            
+
             foreach ($compiler->getEnvironment()->getFilters() as $filterName => $filter) {
                 if (false !== strpos($filterName, $name)) {
                     $alternativeFilters[] = $filterName;
                 }
             }
-            
+
             $exceptionMessage = sprintf('The filter "%s" does not exist', $name);
-           
+
             if (count($alternativeFilters)) {
                 $exceptionMessage = sprintf('%s. Did you mean "%s"?', $exceptionMessage, implode('", "', $alternativeFilters));
             }
-            
+
             throw new Twig_Error_Syntax($exceptionMessage, $this->getLine());
         }