diff --git a/lib/private/app.php b/lib/private/app.php
index be75f96eeee8b961e687afa92dafc1d4d9e3c1a5..b7d58c72340ec2474896dcc8201202c8c16095e3 100644
--- a/lib/private/app.php
+++ b/lib/private/app.php
@@ -574,7 +574,7 @@ class OC_App {
 	 * Read all app metadata from the info.xml file
 	 * @param string $appid id of the app or the path of the info.xml file
 	 * @param boolean $path (optional)
-	 * @return array
+	 * @return array|null
 	 * @note all data is read from info.xml, not just pre-defined fields
 	 */
 	public static function getAppInfo($appid, $path = false) {