Do not use the short syntax for arrays

This commit is contained in:
Zollner Robert
2016-11-13 01:45:54 +02:00
parent cceafa59cc
commit 63e3d997a1

View File

@@ -54,7 +54,7 @@ class Repository extends BaseRepository
. "</item>\" $file"
);
$patch_collection = [];
$patch_collection = array();
foreach ( preg_split('/('.$record_delimiter.'\<item\>)/', $file_patches,null, PREG_SPLIT_NO_EMPTY) as $patches) {
$patches = '<item>' . $patches;
$xmlEnd = strpos($patches, '</item>') + 7;