]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/class_BaseFrameworkSystem.php
Continued:
[core.git] / framework / main / classes / class_BaseFrameworkSystem.php
index 00dd1f3bb27fd7c96d5e85f117565d31c7e963ed..d1f8888346560e129d3e433feb01f43dd6c292f7 100644 (file)
@@ -133,7 +133,7 @@ abstract class BaseFrameworkSystem extends stdClass implements FrameworkInterfac
        /**
         * Generic array
         */
-       private $genericArray = array();
+       private $genericArray = [];
 
        /***********************
         * Exception codes.... *
@@ -1249,7 +1249,7 @@ Loaded includes:
         * @param       $onlyKeys                       Only use these keys for a cache key
         * @return      $cacheKey                       A cache key suitable for lookup/storage purposes
         */
-       protected function getCacheKeyByCriteria (Criteria $criteriaInstance, array $onlyKeys = array()) {
+       protected function getCacheKeyByCriteria (Criteria $criteriaInstance, array $onlyKeys = []) {
                // Generate it
                //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput('BASE-FRAMEWORK-SYSTEM: criteriaInstance=' . $criteriaInstance->__toString() . ',onlyKeys()=' . count($onlyKeys) . ' - CALLED!');
                $cacheKey = sprintf('%s@%s',
@@ -1566,7 +1566,7 @@ Loaded includes:
                }
 
                // Initialize it
-               $this->genericArray[$keyGroup][$subGroup] = array();
+               $this->genericArray[$keyGroup][$subGroup] = [];
        }
 
        /**
@@ -1590,7 +1590,7 @@ Loaded includes:
                }
 
                // Initialize it
-               $this->genericArray[$keyGroup][$subGroup][$key] = array();
+               $this->genericArray[$keyGroup][$subGroup][$key] = [];
        }
 
        /**
@@ -1615,7 +1615,7 @@ Loaded includes:
                }
 
                // Initialize it
-               $this->genericArray[$keyGroup][$subGroup][$key][$element] = array();
+               $this->genericArray[$keyGroup][$subGroup][$key][$element] = [];
        }
 
        /**