Inline control structures are discouraged
This commit is contained in:
parent
5c89b93629
commit
1d6a054b3c
@ -188,8 +188,9 @@ class PMA_sysinfoSunos
|
||||
$mem['SwapUsed'] = $this->_kstat('unix:0:vminfo:swap_alloc') / 1024;
|
||||
$mem['SwapFree'] = $this->_kstat('unix:0:vminfo:swap_free') / 1024;
|
||||
|
||||
foreach ($mem as $idx=>$value)
|
||||
foreach ($mem as $idx=>$value) {
|
||||
$mem[$idx] = intval($value);
|
||||
}
|
||||
|
||||
return $mem;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user