summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-02-21 13:28:10 +0100
committerGitHub <noreply@github.com>2018-02-21 13:28:10 +0100
commit8b44c16ddc8f6b73aaa61d205be956024e6de195 (patch)
tree152985c109c9ee9121fbc48fb8d356476b3127e6 /lib/private
parent7c6cc013ebec7bbdecbf9f5567d620fcfbb37212 (diff)
parent4a41e0cc42181aefa7ee860da3945faefda3c691 (diff)
downloadnextcloud-server-8b44c16ddc8f6b73aaa61d205be956024e6de195.tar.gz
nextcloud-server-8b44c16ddc8f6b73aaa61d205be956024e6de195.zip
Merge pull request #8471 from nextcloud/fix_upgrade
getIncompatibleApps needs a string not an array
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/App/AppManager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/App/AppManager.php b/lib/private/App/AppManager.php
index 690dcfe5639..4bf15c23fab 100644
--- a/lib/private/App/AppManager.php
+++ b/lib/private/App/AppManager.php
@@ -397,7 +397,7 @@ class AppManager implements IAppManager {
*
* @internal
*/
- public function getIncompatibleApps($version) {
+ public function getIncompatibleApps(string $version): array {
$apps = $this->getInstalledApps();
$incompatibleApps = array();
foreach ($apps as $appId) {