From 1cc1c2ed092c46eb35893c1d85accb24cf43d7f9 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 11 May 2016 19:00:30 +0200 Subject: Still working in modularization cleanup and refinement --- Mustache/Engine.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Mustache') diff --git a/Mustache/Engine.php b/Mustache/Engine.php index ca909bca..e1f6b8cf 100644 --- a/Mustache/Engine.php +++ b/Mustache/Engine.php @@ -444,6 +444,7 @@ class Mustache_Engine } catch (InvalidArgumentException $e) { // If the named partial cannot be found, return null. } + return null; } /** @@ -557,6 +558,7 @@ class Mustache_Engine if ($this->cache) { return sprintf('%s/%s.php', $this->cache, $this->getTemplateClassName($source)); } + return false; } /** -- cgit v1.2.3-55-g7522