summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/App/AppStore/Bundles/EnterpriseBundle.php7
-rw-r--r--tests/lib/App/AppStore/Bundles/EnterpriseBundleTest.php1
2 files changed, 5 insertions, 3 deletions
diff --git a/lib/private/App/AppStore/Bundles/EnterpriseBundle.php b/lib/private/App/AppStore/Bundles/EnterpriseBundle.php
index d32fd8c856e..96ede656dae 100644
--- a/lib/private/App/AppStore/Bundles/EnterpriseBundle.php
+++ b/lib/private/App/AppStore/Bundles/EnterpriseBundle.php
@@ -28,14 +28,14 @@ class EnterpriseBundle extends Bundle {
/**
* {@inheritDoc}
*/
- public function getName() {
- return (string)$this->l10n->t('Enterprise bundle');
+ public function getName(): string {
+ return $this->l10n->t('Enterprise bundle');
}
/**
* {@inheritDoc}
*/
- public function getAppIdentifiers() {
+ public function getAppIdentifiers(): array {
return [
'admin_audit',
'user_ldap',
@@ -43,6 +43,7 @@ class EnterpriseBundle extends Bundle {
'files_automatedtagging',
'user_saml',
'files_accesscontrol',
+ 'terms_of_service',
];
}
diff --git a/tests/lib/App/AppStore/Bundles/EnterpriseBundleTest.php b/tests/lib/App/AppStore/Bundles/EnterpriseBundleTest.php
index e75486b3ed5..b3182ff00c8 100644
--- a/tests/lib/App/AppStore/Bundles/EnterpriseBundleTest.php
+++ b/tests/lib/App/AppStore/Bundles/EnterpriseBundleTest.php
@@ -36,6 +36,7 @@ class EnterpriseBundleTest extends BundleBase {
'files_automatedtagging',
'user_saml',
'files_accesscontrol',
+ 'terms_of_service',
];
}
}