Explorar el Código

line numbers are numbers, not strings.

Justin Hileman hace 11 años
padre
commit
1d8db69fb6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/Mustache/Parser.php

+ 1 - 1
src/Mustache/Parser.php

@@ -120,7 +120,7 @@ class Mustache_Parser
 
         if (isset($parent)) {
             $msg = sprintf(
-                'Missing closing tag: %s opened on line %s',
+                'Missing closing tag: %s opened on line %d',
                 $parent[Mustache_Tokenizer::NAME],
                 $parent[Mustache_Tokenizer::LINE]
             );