diff options
author | Patrik Kernstock <info@pkern.at> | 2018-07-18 23:19:27 +0300 |
---|---|---|
committer | Patrik Kernstock <info@pkern.at> | 2018-07-18 23:19:27 +0300 |
commit | 0d409df40b133268c1e33f28f31c6cc77d41ce9c (patch) | |
tree | 94def9d4fedd1e65564bd33e987b7cd032ea8393 /lib | |
parent | ac346625e09ce241c6f66714239db184c3651b03 (diff) |
Stealthy fixed indent
Signed-off-by: Patrik Kernstock <info@pkern.at>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/SystemStatistics.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/SystemStatistics.php b/lib/SystemStatistics.php index 1e3f34b..1777913 100644 --- a/lib/SystemStatistics.php +++ b/lib/SystemStatistics.php @@ -74,7 +74,7 @@ class SystemStatistics { 'mem_free' => $memoryUsage['mem_free'], 'swap_total' => $memoryUsage['swap_total'], 'swap_free' => $memoryUsage['swap_free'], - 'apps' => $this->getAppsInfo() + 'apps' => $this->getAppsInfo() ]; } @@ -94,7 +94,7 @@ class SystemStatistics { //Read Swap usage: exec("/usr/sbin/swapinfo",$return,$status); if ($status===0 && count($return) > 1) { - $line = preg_split("/[\s]+/", $return[1]); + $line = preg_split("/[\s]+/", $return[1]); if(count($line) > 3) { $swapTotal = (int) $line[3]; $swapFree = $swapTotal- (int) $line[2]; |