Skip to content

Commit

Permalink
replaced some var_export() with json_encode() for better readability
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Jan 26, 2011
1 parent 1cf78be commit 6bdfaaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PhpEngine.php
Expand Up @@ -85,7 +85,7 @@ public function render($name, array $parameters = array())

// render
if (false === $content = $this->evaluate($template, $parameters)) {
throw new \RuntimeException(sprintf('The template "%s" cannot be rendered.', var_export($template, true)));
throw new \RuntimeException(sprintf('The template "%s" cannot be rendered.', json_encode($template)));
}

// decorator
Expand Down

0 comments on commit 6bdfaaa

Please sign in to comment.