summaryrefslogtreecommitdiffstats
path: root/lib/private/IntegrityCheck/Helpers/EnvironmentHelper.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/IntegrityCheck/Helpers/EnvironmentHelper.php')
-rw-r--r--lib/private/IntegrityCheck/Helpers/EnvironmentHelper.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/private/IntegrityCheck/Helpers/EnvironmentHelper.php b/lib/private/IntegrityCheck/Helpers/EnvironmentHelper.php
index c5e91997130..b69af591bc2 100644
--- a/lib/private/IntegrityCheck/Helpers/EnvironmentHelper.php
+++ b/lib/private/IntegrityCheck/Helpers/EnvironmentHelper.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* @copyright Copyright (c) 2016, ownCloud, Inc.
*
@@ -34,7 +35,7 @@ class EnvironmentHelper {
*
* @return string
*/
- public function getServerRoot() {
+ public function getServerRoot(): string {
return rtrim(\OC::$SERVERROOT, '/');
}
@@ -43,7 +44,7 @@ class EnvironmentHelper {
*
* @return string
*/
- public function getChannel() {
+ public function getChannel(): string {
return \OC_Util::getChannel();
}
}