From 8eb24bd9e42acaacb13c159144a09aa85eaa0004 Mon Sep 17 00:00:00 2001 From: Thomas Seven Date: Thu, 29 Jan 2015 12:06:21 +0100 Subject: [PATCH] Fixed indentation and comments in the fix for #105 --- src/Handlebars/Helper/IfHelper.php | 2 +- tests/Xamin/HandlebarsTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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