diff --git a/src/Resolver/TemplatePathStack.php b/src/Resolver/TemplatePathStack.php index c5ebb487..e82c2f8d 100644 --- a/src/Resolver/TemplatePathStack.php +++ b/src/Resolver/TemplatePathStack.php @@ -296,7 +296,7 @@ public function resolve($name, Renderer $renderer = null) // Ensure we have the expected file extension $defaultSuffix = $this->getDefaultSuffix(); - if (pathinfo($name, PATHINFO_EXTENSION) != $defaultSuffix) {; + if (pathinfo($name, PATHINFO_EXTENSION) != $defaultSuffix) { $name .= '.' . $defaultSuffix; }