Update for PHP CS Fixer 3.11.0
authorTim Düsterhus <duesterhus@woltlab.com>
Wed, 21 Sep 2022 14:57:49 +0000 (16:57 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Wed, 21 Sep 2022 14:57:49 +0000 (16:57 +0200)
files/lib/system/exporter/XF12xExporter.class.php
files/lib/system/exporter/XF2xExporter.class.php

index aa894314abcd15f22d620dd61db65b162bc48003..a4fd16e7b77c33b7d12352d8cd37429a91449910 100644 (file)
@@ -373,7 +373,7 @@ class XF12xExporter extends AbstractExporter
 
             $languageCode = '';
             if ($row['language_code']) {
-                [$languageCode] = \explode('-', $row['language_code'], 2);
+                [$languageCode] = \explode('-', $row['language_code'], 2);
             }
 
             $additionalData = [
index 6728c445d0f3e492766ea3b0422b78a60a7b86d7..bfd6098baaa1ef5e1712d7df844333b42882f602 100644 (file)
@@ -408,7 +408,7 @@ class XF2xExporter extends AbstractExporter
 
             $languageCode = '';
             if ($row['language_code']) {
-                [$languageCode] = \explode('-', $row['language_code'], 2);
+                [$languageCode] = \explode('-', $row['language_code'], 2);
             }
 
             $additionalData = [