diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml
index cf9f21d0918..efbe3480788 100644
--- a/build/psalm-baseline.xml
+++ b/build/psalm-baseline.xml
@@ -6069,11 +6069,6 @@
OC_User::getUser()
-
-
- boolean|string
-
-
\Test\Util\User\Dummy
@@ -6155,14 +6150,6 @@
-
-
- $template->fetchPage($this->params)
-
-
- string
-
-
$resource['size']
diff --git a/lib/private/legacy/OC_Template.php b/lib/private/legacy/OC_Template.php
index 18a15ad1d43..54c203a3ab6 100644
--- a/lib/private/legacy/OC_Template.php
+++ b/lib/private/legacy/OC_Template.php
@@ -171,7 +171,7 @@ class OC_Template extends \OC\Template\Base {
/**
* Process the template
- * @return boolean|string
+ * @return string
*
* This function process the template. If $this->renderAs is set, it
* will produce a full page.