From c8e975a0151c74ea731dc709640310222d884297 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 2 Oct 2023 18:01:05 +0200 Subject: Update Mustache to 46286a1 --- Mustache/Exception/SyntaxException.php | 41 ++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 Mustache/Exception/SyntaxException.php (limited to 'Mustache/Exception/SyntaxException.php') diff --git a/Mustache/Exception/SyntaxException.php b/Mustache/Exception/SyntaxException.php new file mode 100644 index 00000000..b1879a3d --- /dev/null +++ b/Mustache/Exception/SyntaxException.php @@ -0,0 +1,41 @@ +token = $token; + if (version_compare(PHP_VERSION, '5.3.0', '>=')) { + parent::__construct($msg, 0, $previous); + } else { + parent::__construct($msg); // @codeCoverageIgnore + } + } + + /** + * @return array + */ + public function getToken() + { + return $this->token; + } +} -- cgit v1.2.3-55-g7522