diff --git a/src/Handlebars/Arguments.php b/src/Handlebars/Arguments.php index 25c2eb0..2143683 100644 --- a/src/Handlebars/Arguments.php +++ b/src/Handlebars/Arguments.php @@ -145,7 +145,7 @@ class Arguments throw new \InvalidArgumentException( sprintf( 'Malformed arguments string: "%s"', - var_export($args_string, true) + $args_string ) ); } diff --git a/src/Handlebars/Parser.php b/src/Handlebars/Parser.php index bd57700..1a1411c 100755 --- a/src/Handlebars/Parser.php +++ b/src/Handlebars/Parser.php @@ -81,7 +81,7 @@ class Parser throw new \LogicException( sprintf( 'Unexpected closing tag: /%s', - var_export($token[Tokenizer::NAME], true) + $token[Tokenizer::NAME] ) ); }