From 0586105b5ecdc6032053de62b27cf4528e54d694 Mon Sep 17 00:00:00 2001 From: Justin Hileman Date: Mon, 22 Mar 2010 19:20:02 -0400 Subject: [PATCH] Updated documentation to reflect thrown exceptions. --- Mustache.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Mustache.php b/Mustache.php index 7542f65..d652a19 100644 --- a/Mustache.php +++ b/Mustache.php @@ -167,6 +167,7 @@ class Mustache { * @param string $modifier * @param string $tag_name * @param array $context + * @throws MustacheException Unmatched section tag encountered. * @return string */ protected function renderTag($modifier, $tag_name, &$context) { @@ -308,6 +309,7 @@ class Mustache { * @access protected * @param string $tag_name * @param array $context + * @throws MustacheException Unknown variable name. * @return string */ protected function getVariable($tag_name, &$context) { @@ -337,6 +339,7 @@ class Mustache { * * @access protected * @param string $tag_name + * @throws MustacheException Unknown partial name. * @return string */ protected function getPartial($tag_name) {