diff --git a/Controller/RequestConfiguration.php b/Controller/RequestConfiguration.php
index <HASH>..<HASH> 100644
--- a/Controller/RequestConfiguration.php
+++ b/Controller/RequestConfiguration.php
@@ -98,7 +98,7 @@ class RequestConfiguration
      */
     public function getDefaultTemplate($name)
     {
-        $templatesNamespace = $this->metadata->getTemplatesNamespace();
+        $templatesNamespace = (string) $this->metadata->getTemplatesNamespace();
 
         if (false !== strpos($templatesNamespace, ':')) {
             return sprintf('%s:%s.%s', $templatesNamespace ?: ':', $name, 'twig');
Fix all behat contexts failing due to strict types being enabled