diff options
Diffstat (limited to 'lib/private/NaturalSort.php')
-rw-r--r-- | lib/private/NaturalSort.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/NaturalSort.php b/lib/private/NaturalSort.php index 3cc82222353..32ed9abb069 100644 --- a/lib/private/NaturalSort.php +++ b/lib/private/NaturalSort.php @@ -32,7 +32,7 @@ use OCP\ILogger; class NaturalSort { private static $instance; private $collator; - private $cache = array(); + private $cache = []; /** * Instantiate a new \OC\NaturalSort instance. @@ -58,7 +58,7 @@ class NaturalSort { if (isset($this->cache[$t])) { return $this->cache[$t]; } - $tz = array(); + $tz = []; $x = 0; $y = -1; $n = null; |