From eb519372064505678c81d65e46195b67962e16ae Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sat, 18 Dec 2010 08:02:24 +0100 Subject: [PATCH] removed n/a strings leftover --- lib/Twig/LexerInterface.php | 2 +- lib/Twig/Template.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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() -- 1.7.2.5