From c412ffc195e3a2beeeb7035eafca790942834305 Mon Sep 17 00:00:00 2001 From: James Cole Date: Wed, 18 Mar 2020 20:58:25 +0100 Subject: [PATCH] Short array syntax #3197 --- app/Import/Specifics/IngDescription.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Import/Specifics/IngDescription.php b/app/Import/Specifics/IngDescription.php index 684daade09..f33062a58e 100644 --- a/app/Import/Specifics/IngDescription.php +++ b/app/Import/Specifics/IngDescription.php @@ -140,7 +140,7 @@ class IngDescription implements SpecificInterface */ protected function removeNameIngDescription(): void { - $matches = array(); + $matches = []; if (preg_match('/Valutadatum: ([0-9-]+)/', $this->row[8], $matches)) { $this->row[9] = date("Ymd", strtotime($matches[1])); $this->row[8] = preg_replace('/Valutadatum: [0-9-]+/', '', $this->row[8]);