One more unnecessary else/return combo.

This commit is contained in:
Justin Hileman
2014-08-18 16:58:19 -07:00
parent c0bd7efe39
commit 8449681a37
+2 -2
View File
@@ -609,9 +609,9 @@ class Mustache_Compiler
{ {
if ($this->customEscape) { if ($this->customEscape) {
return sprintf(self::CUSTOM_ESCAPE, $value); return sprintf(self::CUSTOM_ESCAPE, $value);
} else {
return sprintf(self::DEFAULT_ESCAPE, $value, var_export($this->entityFlags, true), var_export($this->charset, true));
} }
return sprintf(self::DEFAULT_ESCAPE, $value, var_export($this->entityFlags, true), var_export($this->charset, true));
} }
/** /**