Explorar el Código

Gah. Fix broken lambda tests.

This is what I get for blindly following code sniff recommendations.
Justin Hileman hace 11 años
padre
commit
b3e3e0a27a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      test/Mustache/Test/FiveThree/Functional/MustacheSpecTest.php

+ 1 - 1
test/Mustache/Test/FiveThree/Functional/MustacheSpecTest.php

@@ -62,7 +62,7 @@ class Mustache_Test_FiveThree_Functional_MustacheSpecTest extends PHPUnit_Framew
                 }
 
                 $func = $val['php'];
-                $data[$key] = function() use ($func) {
+                $data[$key] = function($text = null) use ($func) {
                     return eval($func);
                 };
             } elseif (is_array($val)) {