Fixed indentation and comments in the fix for #105

This commit is contained in:
Thomas Seven 2015-01-29 12:06:21 +01:00
parent 84b3031a44
commit 8eb24bd9e4
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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