From: Vincent Vanwaelscappel Date: Tue, 19 Apr 2022 11:06:26 +0000 (+0200) Subject: wip #5189 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=932cc70c7eae2c97fa672078bc4319fa8405bd64;p=cubist_util.git wip #5189 --- diff --git a/src/ArrayUtil.php b/src/ArrayUtil.php index edb1e5f..6b8ebb2 100644 --- a/src/ArrayUtil.php +++ b/src/ArrayUtil.php @@ -168,7 +168,7 @@ class ArrayUtil { */ public static function parseRange($str) { - $res = array(); + $res = []; $str = preg_replace('|([^0-9;\-,]?)|', '', $str); if ($str == '') { return $res;