Skip to content
This repository has been archived by the owner on Jan 26, 2019. It is now read-only.

Commit

Permalink
Fixed indentation and comments in the fix for #105
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Seven committed Jan 29, 2015
1 parent 84b3031 commit 8eb24bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Handlebars/Helper/IfHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion tests/Xamin/HandlebarsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1177,7 +1177,7 @@ public function stringLiteralsInIfAndUnlessHelpersProvider() {
}

/**
* 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
Expand Down

0 comments on commit 8eb24bd

Please sign in to comment.