Răsfoiți Sursa

Gah. Fix broken lambda tests.

This is what I get for blindly following code sniff recommendations.
Justin Hileman 11 ani în urmă
părinte
comite
b3e3e0a27a

+ 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)) {