mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
Fix tests for PHP<5.5
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user