diff options
author | Morris Jobke <hey@morrisjobke.de> | 2019-04-11 17:14:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-11 17:14:11 +0300 |
commit | 0c101edaac3a02986dc920cb74cb14f3c689fefc (patch) | |
tree | 5e358c571037a6dde09e30354cc7140be0cc114a /lib | |
parent | bc1ac0b7450a97ad3f195f1cf6c797c55224dfc0 (diff) |
Update lib/Os.php
Co-Authored-By: skjnldsv <skjnldsv@users.noreply.github.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Os.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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'); |