diff --git a/src/Handlebars/Helper/IfHelper.php b/src/Handlebars/Helper/IfHelper.php index 8b90924..9c0cb4a 100644 --- a/src/Handlebars/Helper/IfHelper.php +++ b/src/Handlebars/Helper/IfHelper.php @@ -51,7 +51,7 @@ class IfHelper implements Helper public function execute(Template $template, Context $context, $args, $source) { $parsedArgs = $template->parseArguments($args); -$tmp = $context->get($parsedArgs[0]); + $tmp = $context->get($parsedArgs[0]); $context->push($context->last()); if ($tmp) { diff --git a/tests/Xamin/HandlebarsTest.php b/tests/Xamin/HandlebarsTest.php index 2b30d76..5be6d48 100644 --- a/tests/Xamin/HandlebarsTest.php +++ b/tests/Xamin/HandlebarsTest.php @@ -1177,7 +1177,7 @@ class HandlebarsTest extends \PHPUnit_Framework_TestCase } /** - * Test integer literals in the context of if and unless helpers + * Test string literals in the context of if and unless helpers * * @param string $template template text * @param array $data context data