From: Fabien Potencier Date: Sat, 18 Dec 2010 07:02:24 +0000 (+0100) Subject: removed n/a strings leftover X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=eb519372064505678c81d65e46195b67962e16ae;p=web%2Fkonrad%2Ftwig.git removed n/a strings leftover --- diff --git a/lib/Twig/LexerInterface.php b/lib/Twig/LexerInterface.php index 1ef0b86..5c1af5d 100644 --- a/lib/Twig/LexerInterface.php +++ b/lib/Twig/LexerInterface.php @@ -25,5 +25,5 @@ interface Twig_LexerInterface * * @return Twig_TokenStream A token stream instance */ - public function tokenize($code, $filename = 'n/a'); + public function tokenize($code, $filename = null); } diff --git a/lib/Twig/Template.php b/lib/Twig/Template.php index 5311583..4f9eab6 100644 --- a/lib/Twig/Template.php +++ b/lib/Twig/Template.php @@ -24,7 +24,7 @@ abstract class Twig_Template implements Twig_TemplateInterface public function getTemplateName() { - return 'n/a'; + return null; } public function getEnvironment()