One more unnecessary else/return combo.
This commit is contained in:
@@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user