Explorar o código

line numbers are numbers, not strings.

Justin Hileman %!s(int64=11) %!d(string=hai) anos
pai
achega
1d8db69fb6
Modificáronse 1 ficheiros con 1 adicións e 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]
             );