diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-02-17 17:25:24 +0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-02-17 18:05:13 +0300 |
commit | 9dc3b0480228a3c35b3b7a7cb1a904006f7e0762 (patch) | |
tree | d432bd59aa7d4b87c14835b29973a0e829370e5c /lib/public/App | |
parent | edee243b27f7d042998fd840d0b0f75548e3c489 (diff) |
Fix app version to be always string and neither array nor null
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/public/App')
-rw-r--r-- | lib/public/App/IAppManager.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/App/IAppManager.php b/lib/public/App/IAppManager.php index 0c087b61515..f0f14061e35 100644 --- a/lib/public/App/IAppManager.php +++ b/lib/public/App/IAppManager.php @@ -51,10 +51,10 @@ interface IAppManager { * * @param string $appId * @param bool $useCache - * @return mixed + * @return string * @since 14.0.0 */ - public function getAppVersion(string $appId, bool $useCache = true); + public function getAppVersion(string $appId, bool $useCache = true): string; /** * Check if an app is enabled for user |