]> _ Git - cubist_util.git/commitdiff
wip #5189
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 19 Apr 2022 11:06:26 +0000 (13:06 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 19 Apr 2022 11:06:26 +0000 (13:06 +0200)
src/ArrayUtil.php

index edb1e5f9577edf3c113d3f9fe0ebd3232b476d3b..6b8ebb2c37e91e49fe00a16afe329bc84097e9cc 100644 (file)
@@ -168,7 +168,7 @@ class ArrayUtil {
      */
     public static function parseRange($str)
     {
-        $res = array();
+        $res = [];
         $str = preg_replace('|([^0-9;\-,]?)|', '', $str);
         if ($str == '') {
             return $res;