Skip to content

Firefly III: a personal finances manager

Short array syntax #3197

James Colec412ffc195e3
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]);