Inline control structures are discouraged

This commit is contained in:
Madhura Jayaratne 2012-09-05 06:12:39 +05:30
parent 5c89b93629
commit 1d6a054b3c

View File

@ -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;
}