Browse Source

line numbers are numbers, not strings.

Justin Hileman 11 năm trước cách đây
mục cha
commit
1d8db69fb6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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]
             );