Gah. Fix broken lambda tests.
This is what I get for blindly following code sniff recommendations.
This commit is contained in:
@@ -62,7 +62,7 @@ class Mustache_Test_FiveThree_Functional_MustacheSpecTest extends PHPUnit_Framew
|
|||||||
}
|
}
|
||||||
|
|
||||||
$func = $val['php'];
|
$func = $val['php'];
|
||||||
$data[$key] = function() use ($func) {
|
$data[$key] = function($text = null) use ($func) {
|
||||||
return eval($func);
|
return eval($func);
|
||||||
};
|
};
|
||||||
} elseif (is_array($val)) {
|
} elseif (is_array($val)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user