diff options
author | Maurício Meneghini Fauth <mauriciofauth@gmail.com> | 2018-05-30 07:42:21 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauriciofauth@gmail.com> | 2018-05-30 07:42:21 +0300 |
commit | b9c0463d960494cbfe0f04b3159c5ff4a467c446 (patch) | |
tree | 9fe17f2cc230558fbff7a76b9386600ac37d0e8e /libraries/classes/SysInfoBase.php | |
parent | 93bf3d0d1739ec3b15d0e0317ee18b222c58c462 (diff) |
Use short array syntax instead of long array syntax
Replaces array() with [].
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
Diffstat (limited to 'libraries/classes/SysInfoBase.php')
-rw-r--r-- | libraries/classes/SysInfoBase.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/classes/SysInfoBase.php b/libraries/classes/SysInfoBase.php index 4f6fab33bc..a7db7962b5 100644 --- a/libraries/classes/SysInfoBase.php +++ b/libraries/classes/SysInfoBase.php @@ -25,7 +25,7 @@ class SysInfoBase */ public function loadavg() { - return array('loadavg' => 0); + return ['loadavg' => 0]; } /** @@ -35,7 +35,7 @@ class SysInfoBase */ public function memory() { - return array(); + return []; } /** |