1
0
Fork 0
mirror of synced 2024-06-01 18:39:57 +12:00

Updated array syntax

This commit is contained in:
Eldad Fux 2020-10-27 21:50:18 +02:00
parent e009f9c60b
commit a75026b290
2 changed files with 2 additions and 2 deletions

View file

@ -219,7 +219,7 @@ class Document extends ArrayObject
{
$array = parent::getArrayCopy();
$output = array();
$output = [];
foreach ($array as $key => &$value) {
if (!empty($whitelist) && !\in_array($key, $whitelist)) { // Export only whitelisted fields

View file

@ -13,7 +13,7 @@ class Storage
*
* @var array
*/
public static $devices = array();
public static $devices = [];
/**
* Set Device.