diff --git a/lib/private/legacy/OC_App.php b/lib/private/legacy/OC_App.php
index f7fdda66482ff61ecb23d0754d9db544f36c0fee..c6aa3845c642d8363d422d230694e359977acc15 100644
--- a/lib/private/legacy/OC_App.php
+++ b/lib/private/legacy/OC_App.php
@@ -81,6 +81,7 @@ class OC_App {
 	 * clean the appId
 	 *
 	 * @psalm-taint-escape file
+	 * @psalm-taint-escape include
 	 *
 	 * @param string $app AppId that needs to be cleaned
 	 * @return string