Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/serverinfo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Os.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Os.php b/lib/Os.php
index cf07560..b11c7d0 100644
--- a/lib/Os.php
+++ b/lib/Os.php
@@ -83,7 +83,7 @@ class Os {
/**
* @return string
*/
- public function detectOs() {
+ public function detectOs(): string {
$release = shell_exec('cat /etc/*-release');
if(stripos($release,'ubuntu')) {
$os = shell_exec('lsb_release -r -s');