Fix tests for PHP<5.5

This commit is contained in:
Ivan Shalganov
2014-02-28 18:32:59 +04:00
parent c210303b72
commit 61816e76bc
2 changed files with 7 additions and 1 deletions

View File

@@ -1141,6 +1141,12 @@ class TemplateTest extends TestCase
$this->exec($code, self::getVars(), $result, true);
}
/**
* Helper
* @param $x
* @param int $y
* @return mixed
*/
public static function multi($x, $y = 42)
{
return $x * $y;