Skip to content

Commit

Permalink
phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
robocoder committed Oct 4, 2015
1 parent 27b70ca commit 033dd02
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/Compiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -3579,7 +3579,18 @@ protected function libCall($args)
{
$name = $this->compileStringContent($this->coerceString($this->reduce(array_shift($args), true)));

return $this->reduce(array('fncall', $name, array_map(function ($a) { return array(null, $a); }, $args)));
return $this->reduce(
array(
'fncall',
$name,
array_map(
function ($a) {
return array(null, $a);
},
$args
)
)
);
}

protected static $libIf = array('condition', 'if-true', 'if-false');
Expand Down

0 comments on commit 033dd02

Please sign in to comment.