CoreLibs Array keyword remove and switch over to []

This commit is contained in:
Clemens Schwaighofer
2021-06-30 15:07:22 +09:00
parent 76e0c0ac06
commit 678aa7460e
17 changed files with 57 additions and 46 deletions

View File

@@ -29,11 +29,11 @@ class Image
bool $clear_cache = false
) {
// get image type flags
$image_types = array(
$image_types = [
1 => 'gif',
2 => 'jpg',
3 => 'png'
);
];
$return_data = false;
$CONVERT = '';
// if CONVERT is not defined, abort