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
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2019-04-11 17:14:11 +0300
committerGitHub <noreply@github.com>2019-04-11 17:14:11 +0300
commit0c101edaac3a02986dc920cb74cb14f3c689fefc (patch)
tree5e358c571037a6dde09e30354cc7140be0cc114a /lib
parentbc1ac0b7450a97ad3f195f1cf6c797c55224dfc0 (diff)
Update lib/Os.php
Co-Authored-By: skjnldsv <skjnldsv@users.noreply.github.com>
Diffstat (limited to 'lib')
-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');